mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 04:49:21 +00:00
Close report dialog if user has already sent a report
This commit is contained in:
parent
79ed8e934e
commit
504be2e5ef
@ -126,6 +126,7 @@ class _ReportDialogState extends SafeState<_ReportDialog> {
|
||||
} else if (result == ReportResult.ErrorAlreadyReported) {
|
||||
await alert(
|
||||
context, tr("You have already sent a report for this resource!"));
|
||||
MainController.of(context)!.popPage();
|
||||
} else {
|
||||
await alert(context, tr("Failed to send report!"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user