mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-03 16:15:13 +00:00
Apply language with app restart if logged in.
Confirm and restart if logged in, just quickly apply if not.
This commit is contained in:
@@ -71,9 +71,7 @@ void FeedLangTestingKey(int key) {
|
||||
}
|
||||
if (codeState == 4) {
|
||||
codeState = 0;
|
||||
|
||||
auto testLanguageId = (Lang::Current().id() == qstr("TEST_X")) ? qsl("TEST_0") : qsl("TEST_X");
|
||||
Lang::CurrentCloudManager().switchToLanguage(testLanguageId);
|
||||
Lang::CurrentCloudManager().switchToTestLanguage();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user