mirror of https://github.com/M66B/FairEmail.git
Small improvement
This commit is contained in:
parent
884615a269
commit
49bfdb93ba
|
@ -906,7 +906,9 @@ public class FragmentMessages extends FragmentEx {
|
|||
db.account().liveAccountDraft(account < 0 ? null : account).observe(getViewLifecycleOwner(), new Observer<EntityAccount>() {
|
||||
@Override
|
||||
public void onChanged(EntityAccount account) {
|
||||
if (account != null) {
|
||||
if (account == null)
|
||||
fab.hide();
|
||||
else {
|
||||
fab.setTag(account.id);
|
||||
fab.show();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue