mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-20 21:27:07 +00:00
Small layout improvement
This commit is contained in:
parent
947f890d94
commit
05e1026572
1 changed files with 3 additions and 1 deletions
|
@ -4057,9 +4057,11 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
else
|
||||
tvOutboxCount.setText(count == 0 ? null : NF.format(count));
|
||||
|
||||
int color = (errors == 0 ? colorSeparator : colorWarning);
|
||||
int color = (errors == 0 ? colorAccent : colorWarning);
|
||||
ibOutbox.setImageTintList(ColorStateList.valueOf(color));
|
||||
tvOutboxCount.setTextColor(color);
|
||||
ibOutbox.setAlpha(errors == 0 ? 0.4f : 1.0f);
|
||||
tvOutboxCount.setAlpha(errors == 0 ? 0.4f : 1.0f);
|
||||
|
||||
grpOutbox.setVisibility(count == 0 ? View.GONE : View.VISIBLE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue