./ninja format

This commit is contained in:
llama 2025-10-20 10:12:04 +08:00
parent 73ac0a1cfc
commit 68f9e05249
No known key found for this signature in database
GPG key ID: 0B7543854B9413C3
2 changed files with 13 additions and 5 deletions

View file

@ -56,9 +56,17 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<Normal {mirrors} options={flow.value.options!} {uninstall} bind:footer /> <Normal {mirrors} options={flow.value.options!} {uninstall} bind:footer />
{:else if flow.case === "uninstall"} {:else if flow.case === "uninstall"}
<Uninstall bind:footer /> <Uninstall bind:footer />
{:else if flow.case === "osUnsupported" } {:else if flow.case === "osUnsupported"}
<ErrorState title={$tr.launcherOsUnsupported()} detail={flow.value} bind:footer /> <ErrorState
{:else if flow.case === "unknownError" } title={$tr.launcherOsUnsupported()}
<ErrorState title={$tr.launcherUnknownError()} detail={flow.value} bind:footer /> detail={flow.value}
bind:footer
/>
{:else if flow.case === "unknownError"}
<ErrorState
title={$tr.launcherUnknownError()}
detail={flow.value}
bind:footer
/>
{/if} {/if}
</Start> </Start>

View file

@ -15,7 +15,7 @@ export const load = (async () => {
i18nPromise, i18nPromise,
langsPromise, langsPromise,
statePromise, statePromise,
mirrorsPromise mirrorsPromise,
]); ]);
return { langs, userLocale, state, mirrors }; return { langs, userLocale, state, mirrors };