fix context mounted check
This commit is contained in:
1 parent
8cd7016cba
commit
c92415a0ff
1 file changed
+1
-1
@@ -1265,7 +1265,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
autoAddSensor,
|
||||
overwriteOldest,
|
||||
);
|
||||
if (!mounted) return;
|
||||
if (!context.mounted) return;
|
||||
Navigator.pop(context);
|
||||
},
|
||||
child: Text(l10n.common_save),
|
||||
|
||||
Reference in new issue
Block a user