feat: Changed migration version to v2, b=no-bug, c=common

This commit is contained in:
mr. m
2025-07-02 11:04:04 +02:00
parent 3b8202f207
commit 974680e1a4

View File

@@ -4,7 +4,7 @@
class nsZenUIMigration {
PREF_NAME = 'zen.ui.migration.version';
MIGRATION_VERSION = 1;
MIGRATION_VERSION = 2;
init(isNewProfile) {
if (!isNewProfile) {
@@ -57,6 +57,9 @@ class nsZenUIMigration {
);
const theme = Services.prefs.getIntPref('layout.css.prefers-color-scheme.content-override', 0);
Services.prefs.setIntPref('zen.view.window.scheme', theme);
}
_migrateV2() {
Services.prefs.setIntPref('zen.theme.gradient-legacy-version', 0);
}
}