Fixes issue with icon boost color
This commit is contained in:
parent
11e8d5fb1b
commit
6d6985cf59
|
@ -350,10 +350,10 @@ public class NotificationsListAdapter extends BaseAdapter implements OnPostActio
|
|||
imgReblog = ContextCompat.getDrawable(context, R.drawable.ic_boost);
|
||||
}else {
|
||||
if( theme == THEME_DARK)
|
||||
changeDrawableColor(context, R.drawable.ic_boost,R.color.dark_text);
|
||||
changeDrawableColor(context, R.drawable.ic_boost_border,R.color.dark_text);
|
||||
else
|
||||
changeDrawableColor(context, R.drawable.ic_boost,R.color.black);
|
||||
imgReblog = ContextCompat.getDrawable(context, R.drawable.ic_boost);
|
||||
changeDrawableColor(context, R.drawable.ic_boost_border,R.color.black);
|
||||
imgReblog = ContextCompat.getDrawable(context, R.drawable.ic_boost_border);
|
||||
}
|
||||
|
||||
imgFav.setBounds(0,0,(int) (20 * iconSizePercent/100 * scale + 0.5f),(int) (20 * iconSizePercent/100 * scale + 0.5f));
|
||||
|
|
|
@ -621,10 +621,10 @@ public class StatusListAdapter extends BaseAdapter implements OnPostActionInterf
|
|||
imgReblog = ContextCompat.getDrawable(context, R.drawable.ic_boost);
|
||||
}else {
|
||||
if( theme == THEME_DARK)
|
||||
changeDrawableColor(context, R.drawable.ic_boost,R.color.dark_text);
|
||||
changeDrawableColor(context, R.drawable.ic_boost_border,R.color.dark_text);
|
||||
else
|
||||
changeDrawableColor(context, R.drawable.ic_boost,R.color.black);
|
||||
imgReblog = ContextCompat.getDrawable(context, R.drawable.ic_boost);
|
||||
changeDrawableColor(context, R.drawable.ic_boost_border,R.color.black);
|
||||
imgReblog = ContextCompat.getDrawable(context, R.drawable.ic_boost_border);
|
||||
}
|
||||
|
||||
if( status.isPinned()|| (status.getReblog() != null && status.getReblog().isPinned()))
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 744 B |
Binary file not shown.
After Width: | Height: | Size: 373 B |
Binary file not shown.
After Width: | Height: | Size: 461 B |
Binary file not shown.
After Width: | Height: | Size: 933 B |
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
Loading…
Reference in New Issue