BugReportView: show progress in the button, not as a dialog.
This commit is contained in:
parent
ffccbb5d90
commit
7bb5f3b056
1 changed files with 2 additions and 0 deletions
|
|
@ -142,6 +142,7 @@ fun BugReportView(
|
|||
text = stringResource(id = CommonStrings.action_send),
|
||||
onClick = { eventSink(BugReportEvents.SendBugReport) },
|
||||
enabled = state.submitEnabled,
|
||||
showProgress = state.sending.isLoading(),
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.padding(top = 24.dp, bottom = 16.dp)
|
||||
|
|
@ -151,6 +152,7 @@ fun BugReportView(
|
|||
|
||||
AsyncView(
|
||||
async = state.sending,
|
||||
showProgressDialog = false,
|
||||
onSuccess = {
|
||||
eventSink(BugReportEvents.ResetAll)
|
||||
onDone()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue