mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-17 21:31:57 +01:00
Makes sure to keep the chat's input on top of the system nav
This commit is contained in:
parent
09539ac22a
commit
b366aee1a9
@ -217,21 +217,23 @@ fun ChatroomListTwoPane(
|
||||
}
|
||||
},
|
||||
second = {
|
||||
twoPaneNav.innerNav.value?.let {
|
||||
if (it.route == "Room") {
|
||||
Chatroom(
|
||||
roomId = it.id,
|
||||
accountViewModel = accountViewModel,
|
||||
nav = nav,
|
||||
)
|
||||
}
|
||||
Box(Modifier.fillMaxSize().systemBarsPadding()) {
|
||||
twoPaneNav.innerNav.value?.let {
|
||||
if (it.route == "Room") {
|
||||
Chatroom(
|
||||
roomId = it.id,
|
||||
accountViewModel = accountViewModel,
|
||||
nav = nav,
|
||||
)
|
||||
}
|
||||
|
||||
if (it.route == "Channel") {
|
||||
Channel(
|
||||
channelId = it.id,
|
||||
accountViewModel = accountViewModel,
|
||||
nav = nav,
|
||||
)
|
||||
if (it.route == "Channel") {
|
||||
Channel(
|
||||
channelId = it.id,
|
||||
accountViewModel = accountViewModel,
|
||||
nav = nav,
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user