mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 05:34:45 +08:00
更新网站汉化地址
This commit is contained in:
@ -84,9 +84,10 @@ class HomeUIModel extends BaseUIModel {
|
||||
updateSCServerStatus();
|
||||
notifyListeners();
|
||||
appWebLocalizationVersionsData = AppWebLocalizationVersionsData.fromJson(
|
||||
(await Api.dio.get("${AppConf.webTranslateHomeUrl}/versions.json",
|
||||
options: Options(responseType: ResponseType.json)))
|
||||
.data);
|
||||
json.decode((await Api.dio.get(
|
||||
"${AppConf.webTranslateHomeUrl}/versions.json",
|
||||
options: Options(responseType: ResponseType.plain)))
|
||||
.data));
|
||||
} catch (e) {
|
||||
dPrint(e);
|
||||
}
|
||||
|
Reference in New Issue
Block a user