フラグ解除が確実に行われるように

This commit is contained in:
kakkokari-gtyih 2024-09-12 19:22:54 +09:00
parent 7635439b6b
commit b02aba8404
1 changed files with 4 additions and 4 deletions

View File

@ -19,11 +19,11 @@ export async function reloadAsk() {
const { canceled } = await os.confirm({ const { canceled } = await os.confirm({
type: 'info', type: 'info',
text: i18n.ts.reloadToApplySetting, text: i18n.ts.reloadToApplySetting,
}).finally(() => {
isReloadConfirming = false;
}); });
if (!canceled) { if (canceled) return;
unisonReload();
}
isReloadConfirming = false; unisonReload();
} }