mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-17 15:21:53 +00:00
fix: Fixed issue with installing mods and unlock normandy preference, b=(closes #7198), c=mods, workspaces
This commit is contained in:
@@ -57,7 +57,11 @@ pref('zen.urlbar.enable-overrides', false);
|
||||
|
||||
// Exoerimental: Apply a blend mode to the websites so they can render rounded corners
|
||||
// IMPORTANT: Remove once firefox 139 is released
|
||||
#ifdef XP_MACOSX
|
||||
pref('zen.view.experimental-rounded-view', false);
|
||||
#else
|
||||
pref('zen.view.experimental-rounded-view', true);
|
||||
#endif
|
||||
|
||||
// Glance
|
||||
pref('zen.glance.enabled', true);
|
||||
|
@@ -19,7 +19,7 @@ pref("browser.ping-centre.telemetry", false);
|
||||
pref("browser.attribution.enabled", false);
|
||||
pref("toolkit.telemetry.pioneer-new-studies-available", false);
|
||||
pref("app.shield.optoutstudies.enabled", false, locked);
|
||||
pref("app.normandy.enabled", false, locked);
|
||||
pref("app.normandy.enabled", false);
|
||||
pref("app.normandy.api_url", "", locked);
|
||||
|
||||
// Crash reports
|
||||
|
@@ -120,13 +120,7 @@ export class ZenThemeMarketplaceParent extends JSWindowActorParent {
|
||||
}
|
||||
|
||||
async getThemes() {
|
||||
if (!this._themes) {
|
||||
if (!(await IOUtils.exists(this.themesDataFile))) {
|
||||
await IOUtils.writeJSON(this.themesDataFile, {});
|
||||
}
|
||||
this._themes = await IOUtils.readJSON(this.themesDataFile);
|
||||
}
|
||||
return this._themes;
|
||||
return await IOUtils.readJSON(this.themesDataFile);
|
||||
}
|
||||
|
||||
async updateThemes(themes) {
|
||||
|
@@ -3211,6 +3211,9 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||
const sortedBrowsers = browsers.sort((a, b) => {
|
||||
const aTab = gBrowser.getTabForBrowser(a);
|
||||
const bTab = gBrowser.getTabForBrowser(b);
|
||||
if (!bTab || !aTab) {
|
||||
return 0;
|
||||
}
|
||||
const aWorkspaceId = aTab.getAttribute('zen-workspace-id');
|
||||
const bWorkspaceId = bTab.getAttribute('zen-workspace-id');
|
||||
return aWorkspaceId === currentWorkspace ? -1 : bWorkspaceId === currentWorkspace ? 1 : 0;
|
||||
|
Reference in New Issue
Block a user