From b62463f83228c05f98992cae6601be348edb8996 Mon Sep 17 00:00:00 2001 From: Vavassor Date: Fri, 17 Feb 2017 23:33:10 -0500 Subject: [PATCH] Introduced a new bug fixing the last one, woops. That one's fixed too. --- .../main/java/com/keylesspalace/tusky/StatusViewHolder.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/StatusViewHolder.java b/app/src/main/java/com/keylesspalace/tusky/StatusViewHolder.java index 3b3e3595..249b3837 100644 --- a/app/src/main/java/com/keylesspalace/tusky/StatusViewHolder.java +++ b/app/src/main/java/com/keylesspalace/tusky/StatusViewHolder.java @@ -201,7 +201,9 @@ public class StatusViewHolder extends RecyclerView.ViewHolder { /** This should only be called after setReblogged, in order to override the tint correctly. */ public void setRebloggingEnabled(boolean 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); reblogButton.setImageResource(R.drawable.ic_reblog_disabled); }