Improve the performance of changing the composer mode.
Note: this will only be noticeable once a new version of the RTE library is used and the crash when calling `renderComposerMode` is fixed. Also, improved the UI for full screen mode.
This commit is contained in:
parent
99189f0ba5
commit
b9a4c81dd1
3 changed files with 23 additions and 9 deletions
|
|
@ -232,9 +232,9 @@ fun MessagesContent(
|
|||
.imePadding()
|
||||
.let {
|
||||
if (composerFullScreen) {
|
||||
it.weight(1f)
|
||||
it.weight(1f, fill = false)
|
||||
} else {
|
||||
it.height(COMPOSER_HEIGHT)
|
||||
it.wrapContentHeight(Alignment.Bottom)
|
||||
}
|
||||
},
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue