mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Save text in composer when navigating to a sub node (opening an image from the timeline for instance). Fixes #870.
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ class MessageComposerPresenter @Inject constructor(
|
|||||||
val hasFocus = remember {
|
val hasFocus = remember {
|
||||||
mutableStateOf(false)
|
mutableStateOf(false)
|
||||||
}
|
}
|
||||||
val text: MutableState<String> = remember {
|
val text: MutableState<String> = rememberSaveable {
|
||||||
mutableStateOf("")
|
mutableStateOf("")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user