Manav 2 vuotta sitten
vanhempi
commit
b653838ffa
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      lib/ui/settings/inherited_settings_state.dart

+ 1 - 1
lib/ui/settings/inherited_settings_state.dart

@@ -67,7 +67,7 @@ class InheritedSettingsState extends InheritedWidget {
       context.dependOnInheritedWidgetOfExactType<InheritedSettingsState>()!;
 
   static InheritedSettingsState? maybeOf(BuildContext context) =>
-      context.dependOnInheritedWidgetOfExactType<InheritedSettingsState>()!;
+      context.dependOnInheritedWidgetOfExactType<InheritedSettingsState>();
 
   @override
   bool updateShouldNotify(covariant InheritedSettingsState oldWidget) {