Introduced a new bug fixing the last one, woops. That one's fixed too.
This commit is contained in:
parent
0439fabd79
commit
b62463f832
|
@ -201,7 +201,9 @@ public class StatusViewHolder extends RecyclerView.ViewHolder {
|
||||||
/** This should only be called after setReblogged, in order to override the tint correctly. */
|
/** This should only be called after setReblogged, in order to override the tint correctly. */
|
||||||
public void setRebloggingEnabled(boolean enabled) {
|
public void setRebloggingEnabled(boolean enabled) {
|
||||||
reblogButton.setEnabled(enabled);
|
reblogButton.setEnabled(enabled);
|
||||||
if (!enabled) {
|
if (enabled) {
|
||||||
|
reblogButton.setImageResource(R.drawable.ic_reblog);
|
||||||
|
} else {
|
||||||
ThemeUtils.setImageViewTint(reblogButton, R.attr.status_reblog_button_disabled_tint);
|
ThemeUtils.setImageViewTint(reblogButton, R.attr.status_reblog_button_disabled_tint);
|
||||||
reblogButton.setImageResource(R.drawable.ic_reblog_disabled);
|
reblogButton.setImageResource(R.drawable.ic_reblog_disabled);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue