Merge pull request #4 from jmartinesp/fix/render-composer-mode-performance-and-full-screen-mode

Improve the performance of changing the composer mode.
This commit is contained in:
Benoit Marty
2022-12-02 15:49:21 +01:00
committed by GitHub
3 changed files with 23 additions and 9 deletions
@@ -240,9 +240,9 @@ fun MessagesContent(
.fillMaxWidth()
.let {
if (composerFullScreen) {
it.weight(1f)
it.weight(1f, fill = false)
} else {
it.height(COMPOSER_HEIGHT)
it.wrapContentHeight(Alignment.Bottom)
}
},
)