diff --git a/src/lib/components/views/SettingsView.svelte b/src/lib/components/views/SettingsView.svelte index e0f3884b6..e787d624e 100644 --- a/src/lib/components/views/SettingsView.svelte +++ b/src/lib/components/views/SettingsView.svelte @@ -227,8 +227,8 @@ { id: 'library', labelKey: 'settings.library.title' }, { id: 'content-filtering', labelKey: 'settings.contentFiltering.title' }, { id: 'integrations', labelKey: 'settings.integrations.title' }, - { id: 'remote-control', labelKey: 'settings.integrations.remoteControl' }, { id: 'updates', labelKey: 'nav.updates' }, + { id: 'remote-control', labelKey: 'settings.integrations.remoteControl' }, { id: 'storage', labelKey: 'settings.storage.title' }, ]; @@ -647,6 +647,7 @@ let remoteControlQrData = $state(''); let remoteControlUrl = $state(''); let showRemoteControlGuide = $state(false); + let remoteControlCollapsed = $state(true); // Load saved settings on mount onMount(() => { @@ -2820,11 +2821,79 @@ - - - + + + {$t('settings.updates.title')} + + + + {$t('settings.updates.checkOnLaunch')} + + + + + + + {$t('settings.updates.checkNow')} + + + {#if isCheckingUpdates} + + {$t('settings.updates.checking')} + {:else} + {$t('settings.updates.check')} + {/if} + + + + + + {$t('settings.updates.showWhatsNew')} + + + + + + + {$t('settings.updates.showChangelog')} + {#if updatesCurrentVersion} + {$t('settings.updates.currentVersion', { values: { version: updatesCurrentVersion } })} + {/if} + + + {$t('actions.show')} + + + + + + + remoteControlCollapsed = !remoteControlCollapsed}> {$t('settings.integrations.remoteControl')} {$t('settings.integrations.remoteControlExperimental')} + {#if remoteControlCollapsed} + + {:else} + + {/if} + + {#if !remoteControlCollapsed} + showRemoteControlGuide = true}> {$t('settings.integrations.remoteControlSetupGuide')} @@ -2972,66 +3041,7 @@ {/if} - - - - - {$t('settings.updates.title')} - - - - {$t('settings.updates.checkOnLaunch')} - - - - - - - {$t('settings.updates.checkNow')} - - - {#if isCheckingUpdates} - - {$t('settings.updates.checking')} - {:else} - {$t('settings.updates.check')} - {/if} - - - - - - {$t('settings.updates.showWhatsNew')} - - - - - - - {$t('settings.updates.showChangelog')} - {#if updatesCurrentVersion} - {$t('settings.updates.currentVersion', { values: { version: updatesCurrentVersion } })} - {/if} - - - {$t('actions.show')} - - + {/if} {#if isUpdateResultOpen} @@ -3539,17 +3549,6 @@ flatpak override --user --filesystem=/home/USUARIO/Música com.blitzfc.qbz margin-bottom: 16px; } - .section-title-row { - display: flex; - align-items: center; - gap: 12px; - margin-bottom: 16px; - } - - .section-title-row .section-title { - margin-bottom: 0; - } - .experimental-badge { font-size: 10px; font-weight: 600; @@ -3710,6 +3709,17 @@ flatpak override --user --filesystem=/home/USUARIO/Música com.blitzfc.qbz color: var(--text-primary); } + .collapsible-section .section-title-btn .experimental-badge { + flex-shrink: 0; + margin-left: -4px; + } + + .section-header-actions { + display: flex; + gap: 8px; + margin-bottom: 16px; + } + .setting-row { display: flex; align-items: center;