sync language

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2022-09-08 08:52:56 +08:00
parent b4e0101e3e
commit d5d2a98572
8 changed files with 47 additions and 23 deletions

View File

@@ -218,6 +218,7 @@ class _UserInterfaceState extends State<_UserInterface>
onChanged: (key) async {
await bind.mainSetLocalOption(key: "lang", value: key);
Get.forceAppUpdate();
bind.mainChangeLanguage(lang: key);
},
).marginOnly(left: _kContentHMargin);
});