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:
Benoit Marty
2025-11-07 11:13:30 +01:00
committed by GitHub

View File

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