mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-02 05:39:18 +00:00
fix: Dont set compact mode preference when initializing, b=no-bug, c=compact-mode
This commit is contained in:
@@ -107,7 +107,9 @@ var gZenCompactModeManager = {
|
||||
lazyCompactMode.mainAppWrapper.setAttribute('zen-compact-mode', value);
|
||||
document.documentElement.setAttribute('zen-compact-mode', value);
|
||||
Services.xulStore.persist(lazyCompactMode.mainAppWrapper, 'zen-compact-mode');
|
||||
Services.prefs.setBoolPref('zen.view.compact.should-enable-at-startup', value);
|
||||
if (typeof this._wasInCompactMode === 'undefined') {
|
||||
Services.prefs.setBoolPref('zen.view.compact.should-enable-at-startup', value);
|
||||
}
|
||||
this._updateEvent();
|
||||
return value;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user