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 99189f0ba5
commit b9a4c81dd1
3 changed files with 23 additions and 9 deletions

View file

@ -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)
}
},
)