This commit is contained in:
llama 2025-10-24 19:46:04 +08:00
parent 8d2fab7dea
commit 5aeb49641b
No known key found for this signature in database
GPG key ID: 0B7543854B9413C3
3 changed files with 3 additions and 22 deletions

View file

@ -82,7 +82,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
{#if uninstall != null}
<Row class="centre m-3">
<button class="btn btn-primary" onclick={uninstall}>
{$tr.launcherUninstall()} (TODO)
{$tr.launcherUninstall()}
</button>
</Row>
{/if}

View file

@ -100,6 +100,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
{setError(e)}
<Warning warning={$tr.launcherFailedToSync()} className="alert-danger" />
{/await}
{#if error != null}
<Row>
<pre>{error.message}</pre>
@ -132,30 +133,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-webkit-text-size-adjust: 100%;
}
.logo {
max-width: 50px;
margin-inline-end: 1em;
-webkit-user-drag: none;
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
.title {
align-items: center;
}
:global(.centre) {
justify-content: center;
}
pre {
white-space: pre-wrap; /* Since CSS 2.1 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
white-space: pre-wrap;
}
</style>

View file

@ -1,7 +1,6 @@
// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import type { GetLangsResponse_Pair, GetMirrorsResponse_Pair, GetVersionsResponse } from "@generated/anki/launcher_pb";
import * as _tr from "@generated/ftl-launcher";
import { writable } from "svelte/store";