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