🎨 微调逻辑

This commit is contained in:
BTMuli
2023-11-16 14:36:56 +08:00
parent 712a09131e
commit fc3d417961
3 changed files with 16 additions and 10 deletions

View File

@@ -460,10 +460,9 @@ async function confirmUpdateDevice(): Promise<void> {
return;
}
}
await TGRequest.Device.getFp();
appStore.deviceInfo.device_fp = getDeviceInfo("device_fp");
appStore.deviceInfo = await TGRequest.Device.getFp(appStore.deviceInfo);
showSnackbar({
text: "设备信息已更新! DeviceFp: " + getDeviceInfo("device_fp"),
text: "设备信息已更新! DeviceFp: " + appStore.deviceInfo.device_fp,
});
}