mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
First version of the new Settings page is finished.
Added LocalStorageBox for watching info and clearing local storage. Local passcode and cloud password state display and editing done. Temporary download location clearing link added. Crash fixed in local storage clear + app close, now waiting for the clearing thread to quit. Some design improvements and testing.
This commit is contained in:
@@ -653,6 +653,10 @@ struct Data {
|
||||
|
||||
base::Observable<void> ChooseCustomLang;
|
||||
|
||||
int AutoLock = 3600;
|
||||
bool LocalPasscode = false;
|
||||
base::Observable<void> LocalPasscodeChanged;
|
||||
|
||||
};
|
||||
|
||||
} // namespace internal
|
||||
@@ -757,4 +761,8 @@ DefineRefVar(Global, base::Observable<void>, ConnectionTypeChanged);
|
||||
|
||||
DefineRefVar(Global, base::Observable<void>, ChooseCustomLang);
|
||||
|
||||
DefineVar(Global, int, AutoLock);
|
||||
DefineVar(Global, bool, LocalPasscode);
|
||||
DefineRefVar(Global, base::Observable<void>, LocalPasscodeChanged);
|
||||
|
||||
} // namespace Global
|
||||
|
Reference in New Issue
Block a user