mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
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:
+2
-2
@@ -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)
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user