mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Close report dialog if user has already sent a report
This commit is contained in:
		@@ -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!"));
 | 
			
		||||
      }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user