diff --git a/src/App.svelte b/src/App.svelte index 0ee7201..430421d 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -312,7 +312,7 @@ const payload = await listRepos(); status = payload.ageSecs < 0 ? "No cache — press Ctrl+R to scan" - : `${payload.repos.length} repos · cache ${fmtAge(payload.ageSecs)} old`; + : `${payload.repos.length} repos`; await refresh(); if (payload.stale || payload.ageSecs < 0) void rescan(); } @@ -323,7 +323,7 @@ status = "Scanning…"; try { const payload = await rescanRepos(); - status = `${payload.repos.length} repos · just scanned`; + status = `${payload.repos.length} repos`; await refresh(); } catch (e) { status = `Scan failed: ${e}`; @@ -332,12 +332,6 @@ } } - function fmtAge(secs: number): string { - if (secs < 90) return `${secs}s`; - if (secs < 5400) return `${Math.round(secs / 60)}m`; - return `${Math.round(secs / 3600)}h`; - } - async function loadApps() { try { const p = await listApps(); @@ -356,7 +350,7 @@ try { const p = await rescanApps(); apps = p.apps; - appStatus = `${p.apps.length} apps · just scanned`; + appStatus = `${p.apps.length} apps`; } catch (e) { appStatus = `App scan failed: ${e}`; } finally { @@ -746,6 +740,9 @@ {/if} + {#if mode === "settings" && upd.current} + v{upd.current} + {/if} {footerStatus} {#if mode === "repo-list"} ↑ {upd.info.version} - {:else if upd.current} - v{upd.current} {/if} diff --git a/src/lib/components/Settings.svelte b/src/lib/components/Settings.svelte index a756fd0..d29d2e2 100644 --- a/src/lib/components/Settings.svelte +++ b/src/lib/components/Settings.svelte @@ -554,7 +554,7 @@