Commit 7a18663a authored by Grigory Fedorov's avatar Grigory Fedorov

Account action button darken for unavailable status also.

parent ebd53092
...@@ -99,7 +99,7 @@ public class AccountActionButtonsAdapter implements UpdatableAdapter { ...@@ -99,7 +99,7 @@ public class AccountActionButtonsAdapter implements UpdatableAdapter {
StatusMode statusMode = AccountManager.getInstance().getAccount(account).getDisplayStatusMode(); StatusMode statusMode = AccountManager.getInstance().getAccount(account).getDisplayStatusMode();
int connectionIndicatorVisibility; int connectionIndicatorVisibility;
if (statusMode == StatusMode.connection) { if (statusMode == StatusMode.connection || statusMode == StatusMode.unavailable) {
connectionIndicatorVisibility = View.VISIBLE; connectionIndicatorVisibility = View.VISIBLE;
} else { } else {
connectionIndicatorVisibility = View.GONE; connectionIndicatorVisibility = View.GONE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment