mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Improve custom language loading.
Apply custom language without relaunching the app.
This commit is contained in:
@@ -671,8 +671,6 @@ struct Data {
|
||||
ProxyData ConnectionProxy;
|
||||
base::Observable<void> ConnectionTypeChanged;
|
||||
|
||||
base::Observable<void> ChooseCustomLang;
|
||||
|
||||
int AutoLock = 3600;
|
||||
bool LocalPasscode = false;
|
||||
base::Observable<void> LocalPasscodeChanged;
|
||||
@@ -793,8 +791,6 @@ DefineVar(Global, bool, TryIPv6);
|
||||
DefineVar(Global, ProxyData, ConnectionProxy);
|
||||
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);
|
||||
|
Reference in New Issue
Block a user