Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
drstranges committed Jul 24, 2017
1 parent f0a7c0e commit c3d21f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion actionhandler/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'com.android.library'
ext {
libraryVersionMajor = 1
libraryVersionMinor = 1
libraryVersionRevision = 3
libraryVersionRevision = 4

libraryVersion = libraryVersionMajor + '.' + libraryVersionMinor + '.' + libraryVersionRevision

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -664,16 +664,16 @@ public View getView(int position, View convertView, ViewGroup parent) {
//noinspection unchecked
Drawable icon = item.iconProvider.getIconDrawable(context, mModel);
if (icon != null) {
imageView.setVisibility(View.VISIBLE);
imageView.setImageDrawable(icon);
viewHolder.imageView.setVisibility(View.VISIBLE);
viewHolder.imageView.setImageDrawable(icon);
if (mShowNonAcceptedActions) {
viewHolder.imageView.setAlpha(modelAccepted ? 1.0f : 0.3f);
}
} else {
imageView.setVisibility(mHasIcons ? View.INVISIBLE : View.GONE);
viewHolder.imageView.setVisibility(mHasIcons ? View.INVISIBLE : View.GONE);
}
} else {
imageView.setVisibility(mHasIcons ? View.INVISIBLE : View.GONE);
viewHolder.imageView.setVisibility(mHasIcons ? View.INVISIBLE : View.GONE);
}

return convertView;
Expand Down

0 comments on commit c3d21f5

Please sign in to comment.