Remove compact view preference and update related logic for improved clarity

This commit is contained in:
mr. M
2025-01-19 20:29:59 +01:00
parent afc636a20f
commit 0a9f88a2fb
9 changed files with 336 additions and 356 deletions

View File

@@ -977,11 +977,6 @@ Preferences.addAll([
type: 'bool',
default: true,
},
{
id: 'zen.view.compact',
type: 'bool',
default: false,
},
{
id: 'zen.view.compact.hide-toolbar',
type: 'bool',

View File

@@ -235,9 +235,6 @@
<label><html:h2 data-l10n-id="zen-look-and-feel-compact-view-header"/></label>
<description class="description-deemphasized" data-l10n-id="zen-look-and-feel-compact-view-description" />
<checkbox id="zenLooksAndFeelShowCompactView"
data-l10n-id="zen-look-and-feel-compact-view-enabled"
preference="zen.view.compact"/>
<html:div id="ZenCompactModeStyle">
<form xmlns="http://www.w3.org/1999/xhtml" autocomplete="off" id="zen-compact-mode-styles-form">
<label class="web-appearance-choice">