Makes sure to keep the chat's input on top of the system nav
This commit is contained in:
+16
-14
@@ -217,21 +217,23 @@ fun ChatroomListTwoPane(
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
second = {
|
second = {
|
||||||
twoPaneNav.innerNav.value?.let {
|
Box(Modifier.fillMaxSize().systemBarsPadding()) {
|
||||||
if (it.route == "Room") {
|
twoPaneNav.innerNav.value?.let {
|
||||||
Chatroom(
|
if (it.route == "Room") {
|
||||||
roomId = it.id,
|
Chatroom(
|
||||||
accountViewModel = accountViewModel,
|
roomId = it.id,
|
||||||
nav = nav,
|
accountViewModel = accountViewModel,
|
||||||
)
|
nav = nav,
|
||||||
}
|
)
|
||||||
|
}
|
||||||
|
|
||||||
if (it.route == "Channel") {
|
if (it.route == "Channel") {
|
||||||
Channel(
|
Channel(
|
||||||
channelId = it.id,
|
channelId = it.id,
|
||||||
accountViewModel = accountViewModel,
|
accountViewModel = accountViewModel,
|
||||||
nav = nav,
|
nav = nav,
|
||||||
)
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user