mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-30 01:21:11 +01:00
Small improvement
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user