2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Enable / disable side bar based on filters.

This commit is contained in:
John Preston
2020-03-18 13:19:58 +04:00
parent 3c0ee9fa20
commit 4881981cf6
13 changed files with 41 additions and 32 deletions

View File

@@ -311,7 +311,6 @@ struct Data {
base::Observable<void> AdaptiveChanged;
bool DialogsFiltersEnabled = false;
FilterId DialogsFilterId = 0;
bool ModerateModeEnabled = false;
bool ScreenIsLocked = false;
@@ -441,7 +440,6 @@ DefineVar(Global, bool, AdaptiveForWide);
DefineRefVar(Global, base::Observable<void>, AdaptiveChanged);
DefineVar(Global, bool, DialogsFiltersEnabled);
DefineVar(Global, FilterId, DialogsFilterId);
DefineVar(Global, bool, ModerateModeEnabled);
DefineVar(Global, bool, ScreenIsLocked);