mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Fixed crash
This commit is contained in:
parent
cb25ccc175
commit
0fcaad281d
1 changed files with 14 additions and 14 deletions
|
@ -404,7 +404,6 @@ public class FragmentMessage extends FragmentEx {
|
||||||
bottom_navigation.setVisibility(View.VISIBLE);
|
bottom_navigation.setVisibility(View.VISIBLE);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
|
||||||
|
|
||||||
if (savedInstanceState != null) {
|
if (savedInstanceState != null) {
|
||||||
free = savedInstanceState.getBoolean("free");
|
free = savedInstanceState.getBoolean("free");
|
||||||
|
@ -421,6 +420,7 @@ public class FragmentMessage extends FragmentEx {
|
||||||
tvError.setVisibility(free || message.error == null ? View.GONE : View.VISIBLE);
|
tvError.setVisibility(free || message.error == null ? View.GONE : View.VISIBLE);
|
||||||
fab.setVisibility(free ? View.GONE : View.VISIBLE);
|
fab.setVisibility(free ? View.GONE : View.VISIBLE);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Observe attachments
|
// Observe attachments
|
||||||
|
|
Loading…
Reference in a new issue