fix(frontend/aiscript): Mk:toastを同期関数に変更

This commit is contained in:
kakkokari-gtyih 2025-08-30 10:46:41 +09:00
parent def148d7a6
commit ecca703bea
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ export function createAiScriptEnv(opts: { storageKey: string, token?: string })
}); });
return confirm.canceled ? values.FALSE : values.TRUE; return confirm.canceled ? values.FALSE : values.TRUE;
}), }),
'Mk:toast': values.FN_NATIVE(async ([text]) => { 'Mk:toast': values.FN_NATIVE(([text]) => {
utils.assertString(text); utils.assertString(text);
os.toast(text.value); os.toast(text.value);
return values.NULL; return values.NULL;