mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-16 23:06:30 +00:00
Refactor ZenThemesImporter to streamline URL matching logic for improved readability
This commit is contained in:
@@ -313,8 +313,5 @@ gZenActorsManager.addJSWindowActor('ZenThemeMarketplace', {
|
||||
DOMContentLoaded: {},
|
||||
},
|
||||
},
|
||||
matches: [
|
||||
...Services.prefs.getStringPref('zen.injections.match-urls').split(','),
|
||||
'about:preferences'
|
||||
],
|
||||
matches: [...Services.prefs.getStringPref('zen.injections.match-urls').split(','), 'about:preferences'],
|
||||
});
|
||||
|
Reference in New Issue
Block a user