mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 12:14:11 +00:00 
			
		
		
		
	Fix issue
This commit is contained in:
		@@ -150,8 +150,8 @@ Future<bool> showConfirmDialog({
 | 
			
		||||
  if (title == null) title = tr("Confirm operation");
 | 
			
		||||
 | 
			
		||||
  // Avoid potential theme issues
 | 
			
		||||
  var ctx = Scaffold.of(context).context;
 | 
			
		||||
  ctx = ctx != null ? ctx : context;
 | 
			
		||||
  final scaffold = Scaffold.of(context, nullOk: true);
 | 
			
		||||
  final ctx = scaffold != null ? scaffold.context : context;
 | 
			
		||||
 | 
			
		||||
  final result = await showDialog<bool>(
 | 
			
		||||
      context: ctx,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user