mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-05 18:32:30 +01:00
Prevent non-stable uiTheme
from being used in stable build
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/1389 Asking people to respect the warning in the documentation does not work, consequently the setting will be now disabled for stable releases.
This commit is contained in:
parent
5d7b2918ef
commit
9aef41738b
@ -182,7 +182,9 @@ const onMessage = function(request, sender, callback) {
|
||||
case 'uiStyles':
|
||||
response = {
|
||||
uiStyles: µb.hiddenSettings.uiStyles,
|
||||
uiTheme: µb.hiddenSettings.uiTheme,
|
||||
uiTheme: vAPI.webextFlavor.soup.has('devbuild')
|
||||
? µb.hiddenSettings.uiTheme
|
||||
: 'unset',
|
||||
};
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user