Merge pull request #5695 from element-hq/feature/bma/bugReportForm
Ensure the form data are not lost when opening the log viewer.
This commit is contained in:
commit
80196c2703
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ class BugReportPresenter(
|
|||
val sendingAction: MutableState<AsyncAction<Unit>> = remember {
|
||||
mutableStateOf(AsyncAction.Uninitialized)
|
||||
}
|
||||
val formState: MutableState<BugReportFormState> = remember {
|
||||
val formState: MutableState<BugReportFormState> = rememberSaveable {
|
||||
mutableStateOf(BugReportFormState.Default)
|
||||
}
|
||||
val uploadListener = BugReporterUploadListener(sendingProgress, sendingAction)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue