mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-19 11:01:28 +03:00
feat: replace forceAppUpdate with customed reloadWindow
This commit is contained in:
@@ -406,7 +406,7 @@ class _GeneralState extends State<_General> {
|
||||
initialKey: currentKey,
|
||||
onChanged: (key) async {
|
||||
await bind.mainSetLocalOption(key: "lang", value: key);
|
||||
Get.forceAppUpdate();
|
||||
reloadAllWindows();
|
||||
bind.mainChangeLanguage(lang: key);
|
||||
},
|
||||
).marginOnly(left: _kContentHMargin);
|
||||
|
||||
Reference in New Issue
Block a user