feat:切换flutter版本
This commit is contained in:
1 parent
ee761ccc48
commit
72443f7abf
32 files changed
+536
-375
No files matched your search
@@ -87,6 +87,7 @@ class SettingController extends GetxController {
|
||||
if (payType == null) continue;
|
||||
usePayList.add(payType);
|
||||
}
|
||||
usePayList.sort((pren, next) => pren.code.compareTo(next.code));
|
||||
sysSetting.value?.usePayDisplayType = usePayList;
|
||||
await AppSettingTool.setSysSetting(sysSetting.value!);
|
||||
});
|
||||
@@ -131,7 +132,8 @@ class SettingController extends GetxController {
|
||||
maskType: EasyLoadingMaskType.black,
|
||||
);
|
||||
try {
|
||||
await SyncConfigTool.autoSyncSysInfo();
|
||||
final setting = await SyncConfigTool.autoSyncSysInfo();
|
||||
if (setting != null) sysSetting.value = setting;
|
||||
Toast.success(msg: "同步设备信息成功");
|
||||
EasyLoading.dismiss();
|
||||
} catch (e, stack) {
|
||||
|
||||
Reference in new issue
Block a user