Feat: Update Suwayomi (Stable -> Preview) + UI Login

This commit is contained in:
Youwes09
2026-04-30 22:02:45 -05:00
parent daaeae00fe
commit c8ec6d6b90
14 changed files with 357 additions and 190 deletions
+7 -1
View File
@@ -23,8 +23,14 @@
onReady, onRetry, onBypass, onDismiss,
}: Props = $props();
const serverAuthActive = $derived(
store.settings.serverAuthMode === "BASIC_AUTH" || store.settings.serverAuthMode === "UI_LOGIN"
);
const lockEnabled = $derived(
store.settings.appLockEnabled && (store.settings.appLockPin?.length ?? 0) >= 4
store.settings.appLockEnabled &&
(store.settings.appLockPin?.length ?? 0) >= 4 &&
(mode === "idle" || !serverAuthActive)
);
let pinEntry = $state("");