mirror of
https://github.com/dergigi/boris.git
synced 2025-12-18 23:24:22 +01:00
fix(settings): make startup preference checkboxes checked by default and remove redundant text
This commit is contained in:
@@ -204,11 +204,11 @@ const Settings: React.FC<SettingsProps> = ({ settings, onSave, onClose }) => {
|
|||||||
<input
|
<input
|
||||||
id="sidebarCollapsed"
|
id="sidebarCollapsed"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
checked={localSettings.sidebarCollapsed === true}
|
checked={localSettings.sidebarCollapsed !== false}
|
||||||
onChange={(e) => setLocalSettings({ ...localSettings, sidebarCollapsed: e.target.checked })}
|
onChange={(e) => setLocalSettings({ ...localSettings, sidebarCollapsed: e.target.checked })}
|
||||||
className="setting-checkbox"
|
className="setting-checkbox"
|
||||||
/>
|
/>
|
||||||
<span>Start with bookmarks sidebar collapsed (default: on)</span>
|
<span>Start with bookmarks sidebar collapsed</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -217,11 +217,11 @@ const Settings: React.FC<SettingsProps> = ({ settings, onSave, onClose }) => {
|
|||||||
<input
|
<input
|
||||||
id="highlightsCollapsed"
|
id="highlightsCollapsed"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
checked={localSettings.highlightsCollapsed === true}
|
checked={localSettings.highlightsCollapsed !== false}
|
||||||
onChange={(e) => setLocalSettings({ ...localSettings, highlightsCollapsed: e.target.checked })}
|
onChange={(e) => setLocalSettings({ ...localSettings, highlightsCollapsed: e.target.checked })}
|
||||||
className="setting-checkbox"
|
className="setting-checkbox"
|
||||||
/>
|
/>
|
||||||
<span>Start with highlights panel collapsed (default: on)</span>
|
<span>Start with highlights panel collapsed</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user