Fixes text color for buttons with light theme in toots.
This commit is contained in:
parent
1051ea5a00
commit
f323857ef3
|
@ -459,6 +459,10 @@ public class NotificationsListAdapter extends BaseAdapter implements OnPostActio
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if( theme == Helper.THEME_LIGHT) {
|
||||||
|
holder.status_show_more.setTextColor(ContextCompat.getColor(context, R.color.white));
|
||||||
|
}
|
||||||
|
|
||||||
//Profile picture
|
//Profile picture
|
||||||
imageLoader.displayImage(notification.getAccount().getAvatar(), holder.notification_account_profile, options);
|
imageLoader.displayImage(notification.getAccount().getAvatar(), holder.notification_account_profile, options);
|
||||||
return convertView;
|
return convertView;
|
||||||
|
|
|
@ -594,6 +594,10 @@ public class StatusListAdapter extends BaseAdapter implements OnPostActionInterf
|
||||||
holder.status_favorite_count.setCompoundDrawables(imgFav, null, null, null);
|
holder.status_favorite_count.setCompoundDrawables(imgFav, null, null, null);
|
||||||
holder.status_reblog_count.setCompoundDrawables(imgReblog, null, null, null);
|
holder.status_reblog_count.setCompoundDrawables(imgReblog, null, null, null);
|
||||||
|
|
||||||
|
if( theme == Helper.THEME_LIGHT) {
|
||||||
|
holder.status_show_more.setTextColor(ContextCompat.getColor(context, R.color.white));
|
||||||
|
holder.status_spoiler_button.setTextColor(ContextCompat.getColor(context, R.color.white));
|
||||||
|
}
|
||||||
holder.status_show_more.setOnClickListener(new View.OnClickListener() {
|
holder.status_show_more.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
|
|
Loading…
Reference in New Issue