introducing floating bar with toggle

This commit is contained in:
kveld9
2026-04-19 13:01:31 -03:00
parent f53f724e1c
commit ffffe268ab
9 changed files with 174 additions and 5 deletions
+11
View File
@@ -1774,6 +1774,17 @@ export default function Settings() {
<span className="toggle-track" />
</label>
</div>
<div className="settings-section-divider" />
<div className="settings-toggle-row">
<div>
<div style={{ fontWeight: 500 }}>{t('settings.floatingPlayerBar')}</div>
<div style={{ fontSize: 12, color: 'var(--text-muted)' }}>{t('settings.floatingPlayerBarSub')}</div>
</div>
<label className="toggle-switch">
<input type="checkbox" checked={theme.floatingPlayerBar} onChange={e => theme.setFloatingPlayerBar(e.target.checked)} />
<span className="toggle-track" />
</label>
</div>
</div>
</section>