wip: dualpane wiring #213

Closed
erinn wants to merge 4 commits from dualpane into trunk
1 changed files with 14 additions and 0 deletions
Showing only changes of commit 108494be53 - Show all commits

View File

@ -19,6 +19,8 @@ class Settings extends ChangeNotifier {
// explicitly set experiments to false until told otherwise...
bool experimentsEnabled = false;
HashMap<String, bool> experiments = HashMap.identity();
String _uiColumnModePortrait = "Single";
String _uiColumnModeLandscape = "Same";
late bool blockUnknownConnections;
@ -134,6 +136,18 @@ class Settings extends ChangeNotifier {
notifyListeners();
}
String get uiColumnModePortrait => _uiColumnModePortrait;
set uiColumnModePortrait(String newval) {
this._uiColumnModePortrait = newval;
notifyListeners();
}
String get uiColumnModeLandscape => _uiColumnModeLandscape;
set uiColumnModeLandscape(String newval) {
this._uiColumnModeLandscape = newval;
notifyListeners();
}
/// Construct a default settings object.
Settings(this.locale, this.theme);