mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-18 08:52:26 +02: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':
|
case 'uiStyles':
|
||||||
response = {
|
response = {
|
||||||
uiStyles: µb.hiddenSettings.uiStyles,
|
uiStyles: µb.hiddenSettings.uiStyles,
|
||||||
uiTheme: µb.hiddenSettings.uiTheme,
|
uiTheme: vAPI.webextFlavor.soup.has('devbuild')
|
||||||
|
? µb.hiddenSettings.uiTheme
|
||||||
|
: 'unset',
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user