Fixe #1198 - Allow cancelling feeback submissions while they're uploading (#1692)

This commit is contained in:
Stefan Ceriu
2023-09-13 12:08:39 +03:00
committed by GitHub
parent f3618cda9d
commit add148b77d
5 changed files with 8 additions and 2 deletions
@@ -32,6 +32,7 @@ struct BugReportScreen: View {
sendLogsSection
canContactSection
}
.disabled(context.viewState.shouldDisableInteraction)
.scrollDismissesKeyboard(.immediately)
.compoundList()
.navigationTitle(L10n.commonReportABug)
@@ -131,6 +132,7 @@ struct BugReportScreen: View {
context.send(viewAction: .submit)
}
.disabled(context.reportText.count < 5)
.disabled(context.viewState.shouldDisableInteraction)
}
}
}