fix(about): remove top app card and unused aboutDescription i18n

This commit is contained in:
t8y2 committed 2026-07-10 11:09:53 +08:00
1 parent 3f4f69c0dd
commit 8bddf29776
8 files changed
-20

No files matched your search

@@ -1184,7 +1184,6 @@ function setSidebarActivation(value: "single" | "double") {
const activeSettingsTab = ref("appearance");
const isWeb = !isTauriRuntime();
const displayedAppVersion = computed(() => (props.appVersion ? `v${props.appVersion}` : ""));
const appSupportInfo = ref<AppSupportInfo | null>(null);
const appSupportInfoLoading = ref(false);
const appSupportInfoError = ref("");
@@ -4184,18 +4183,6 @@ onUnmounted(cleanupPreviewEditor);
</section>
<section v-else-if="activeSettingsTab === 'about'" class="flex flex-col gap-5 py-2">
<div class="rounded-lg border bg-muted/20 p-4">
<div class="flex items-start justify-between gap-4">
<div class="min-w-0 space-y-1">
<div class="text-lg font-semibold">DBX</div>
<p class="text-sm text-muted-foreground">{{ t("settings.aboutDescription") }}</p>
</div>
<div v-if="displayedAppVersion" class="rounded-md border bg-background px-2 py-1 text-xs text-muted-foreground">
{{ displayedAppVersion }}
</div>
</div>
</div>
<div class="rounded-lg border p-4">
<div class="flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between">
<div class="min-w-0 space-y-1">