mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-08-08 06:46:11 +00:00
wear: action buttons float over chat text instead of reserving space; empty-state lifted clear of buttons
This commit is contained in:
parent
5797ee18c0
commit
5e937fa816
@ -116,7 +116,7 @@ fun ChatScreen(onOpenPeople: () -> Unit, onOpenTextInput: () -> Unit) {
|
||||
Column(
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.padding(bottom = 56.dp)
|
||||
.padding(bottom = 8.dp)
|
||||
.rotaryScrollable(
|
||||
RotaryScrollableDefaults.behavior(scrollState),
|
||||
rotaryFocus
|
||||
@ -133,7 +133,7 @@ fun ChatScreen(onOpenPeople: () -> Unit, onOpenTextInput: () -> Unit) {
|
||||
textAlign = TextAlign.Center,
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.padding(vertical = 16.dp)
|
||||
.padding(bottom = 48.dp)
|
||||
)
|
||||
}
|
||||
messages.forEach { message ->
|
||||
|
||||
@ -145,7 +145,7 @@ fun DmScreen(peerID: String, onOpenTextInput: () -> Unit) {
|
||||
Column(
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.padding(bottom = 56.dp)
|
||||
.padding(bottom = 8.dp)
|
||||
.rotaryScrollable(
|
||||
RotaryScrollableDefaults.behavior(scrollState),
|
||||
rotaryFocus
|
||||
@ -163,7 +163,7 @@ fun DmScreen(peerID: String, onOpenTextInput: () -> Unit) {
|
||||
textAlign = TextAlign.Center,
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.padding(vertical = 16.dp)
|
||||
.padding(bottom = 48.dp)
|
||||
)
|
||||
}
|
||||
messages.forEach { message ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user