feat(app): allow disabling progress bar in settings (#23674)

This commit is contained in:
Brendan Allan
2026-04-21 19:10:50 +08:00
committed by GitHub
parent febadc5589
commit 811a7e9a8b
20 changed files with 72 additions and 1 deletions

View File

@@ -280,6 +280,18 @@ export const SettingsGeneral: Component = () => {
/>
</div>
</SettingsRow>
<SettingsRow
title={language.t("settings.general.row.showSessionProgressBar.title")}
description={language.t("settings.general.row.showSessionProgressBar.description")}
>
<div data-action="settings-show-session-progress-bar">
<Switch
checked={settings.general.showSessionProgressBar()}
onChange={(checked) => settings.general.setShowSessionProgressBar(checked)}
/>
</div>
</SettingsRow>
</SettingsList>
</div>
)