mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Fix a few notices
This commit is contained in:
		@@ -180,9 +180,7 @@ class DataConservationPolicyTile extends SettingsTile {
 | 
			
		||||
    required this.title,
 | 
			
		||||
    required this.onChange,
 | 
			
		||||
    required this.minValue,
 | 
			
		||||
  })  : assert(title != null),
 | 
			
		||||
        assert(onChange != null),
 | 
			
		||||
        assert(minValue != null);
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  @override
 | 
			
		||||
  Widget build(BuildContext context) {
 | 
			
		||||
 
 | 
			
		||||
@@ -140,8 +140,7 @@ class _SecurityQuestionsDialog extends StatefulWidget {
 | 
			
		||||
  final SecuritySettings settings;
 | 
			
		||||
 | 
			
		||||
  const _SecurityQuestionsDialog({Key? key, required this.settings})
 | 
			
		||||
      : assert(settings != null),
 | 
			
		||||
        super(key: key);
 | 
			
		||||
      : super(key: key);
 | 
			
		||||
 | 
			
		||||
  @override
 | 
			
		||||
  __SecurityQuestionsDialogState createState() =>
 | 
			
		||||
 
 | 
			
		||||
@@ -31,10 +31,7 @@ class _SettingsSection {
 | 
			
		||||
    required this.subtitle,
 | 
			
		||||
    required this.icon,
 | 
			
		||||
    required this.onBuild,
 | 
			
		||||
  })  : assert(title != null),
 | 
			
		||||
        assert(subtitle != null),
 | 
			
		||||
        assert(icon != null),
 | 
			
		||||
        assert(onBuild != null);
 | 
			
		||||
  });
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
class AccountSettingsRoute extends StatelessWidget {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user