1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-24 22:09:21 +00:00

Close report dialog if user has already sent a report

This commit is contained in:
Pierre HUBERT 2022-03-18 19:23:35 +01:00
parent 79ed8e934e
commit 504be2e5ef

View File

@ -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!"));
}