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:
Jorge Martín
2022-12-02 15:40:12 +01:00
parent 029d97aaf8
commit 12ab8b73cd
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)
}
},
)