mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-12-25 04:18:51 +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