mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-29 00:14:12 +01:00
Hide fab when bottom navigation visible
This commit is contained in:
parent
5453a939d0
commit
acb3ea5456
1 changed files with 9 additions and 1 deletions
|
@ -535,7 +535,15 @@ public class ConversationsOverviewFragment extends XmppFragment {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
binding.fab.setVisibility(View.VISIBLE);
|
||||
if (activity instanceof ConversationsActivity) {
|
||||
boolean showed = ((ConversationsActivity) activity).showNavigationBar();
|
||||
|
||||
if (showed) {
|
||||
this.binding.fab.setVisibility(View.GONE);
|
||||
} else {
|
||||
this.binding.fab.setVisibility(View.VISIBLE);
|
||||
}
|
||||
}
|
||||
}
|
||||
setupSwipe();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue