diff --git a/lib/settings.dart b/lib/settings.dart index f14052f..137fcb7 100644 --- a/lib/settings.dart +++ b/lib/settings.dart @@ -19,6 +19,8 @@ class Settings extends ChangeNotifier { // explicitly set experiments to false until told otherwise... bool experimentsEnabled = false; HashMap 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);