mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-3279 Navigation | Fix | Nav panel fixes (#2032)
This commit is contained in:
parent
b7b30b68d3
commit
3ff9cb6f27
17 changed files with 341 additions and 137 deletions
|
@ -236,8 +236,6 @@ fun AllContentMainScreen(
|
|||
onGlobalSearchClicked = onGlobalSearchClicked,
|
||||
onAddDocClicked = onAddDocClicked,
|
||||
onCreateObjectLongClicked = onCreateObjectLongClicked,
|
||||
onBackClicked = onBackClicked,
|
||||
onBackLongClicked = onBackLongClicked,
|
||||
uiBottomMenu = uiBottomMenu,
|
||||
onShareButtonClicked = onShareButtonClicked
|
||||
)
|
||||
|
@ -340,16 +338,12 @@ fun BottomMenu(
|
|||
onGlobalSearchClicked: () -> Unit,
|
||||
onAddDocClicked: () -> Unit,
|
||||
onCreateObjectLongClicked: () -> Unit,
|
||||
onBackClicked: () -> Unit,
|
||||
onBackLongClicked: () -> Unit,
|
||||
onShareButtonClicked: () -> Unit
|
||||
) {
|
||||
val isImeVisible = WindowInsets.ime.getBottom(LocalDensity.current) > 0
|
||||
if (isImeVisible) return
|
||||
BottomNavigationMenu(
|
||||
modifier = modifier,
|
||||
backClick = onBackClicked,
|
||||
backLongClick = onBackLongClicked,
|
||||
searchClick = onGlobalSearchClicked,
|
||||
addDocClick = onAddDocClicked,
|
||||
addDocLongClick = onCreateObjectLongClicked,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue