dualpane settings wiring
This commit is contained in:
parent
ddb671cf6a
commit
eb12f57135
|
@ -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";
|
||||
|
||||
bool blockUnknownConnections = false;
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue