mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Ensure FAB is displayed when navigation bar is not
This commit is contained in:
+3
-1
@@ -239,9 +239,11 @@ private fun HomeScaffold(
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
} else {
|
||||||
|
HomeFloatingActionButton(onStartChatClick, CommonStrings.action_create_room)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
floatingActionButtonPosition = FabPosition.Center,
|
floatingActionButtonPosition = if (state.showNavigationBar) FabPosition.Center else FabPosition.End,
|
||||||
content = { padding ->
|
content = { padding ->
|
||||||
val contentPadding = PaddingValues(
|
val contentPadding = PaddingValues(
|
||||||
bottom = 112.dp,
|
bottom = 112.dp,
|
||||||
|
|||||||
Reference in New Issue
Block a user