Notify Listeners for ProfileMode
continuous-integration/drone/pr Build is pending Details

This commit is contained in:
Sarah Jamie Lewis 2023-04-18 14:13:54 -07:00 committed by Gitea
parent 8cd1bec07b
commit cbe78ff2a7
1 changed files with 7 additions and 1 deletions

View File

@ -70,7 +70,13 @@ class Settings extends ChangeNotifier {
String get torCacheDir => _torCacheDir;
// Whether to show the profiling interface, not saved
bool profileMode = false;
bool _profileMode = false;
bool get profileMode => _profileMode;
set profileMode(bool newval) {
this._profileMode = newval;
notifyListeners();
}
set useSemanticDebugger(bool newval) {
this._useSemanticDebugger = newval;