Make less obvious target highlighting optional

This commit is contained in:
Imran Remtulla
2023-09-09 07:29:35 -04:00
parent 4596e32258
commit 09421230f2
16 changed files with 42 additions and 1 deletions

View File

@@ -348,4 +348,13 @@ class SettingsProvider with ChangeNotifier {
prefs?.setBool('showDebugOpts', val);
notifyListeners();
}
bool get highlightTouchTargets {
return prefs?.getBool('highlightTouchTargets') ?? false;
}
set highlightTouchTargets(bool val) {
prefs?.setBool('highlightTouchTargets', val);
notifyListeners();
}
}