Oops: Hide the donation button (part 2)
This commit is contained in:
parent
7e2027db65
commit
2ad6891398
|
@ -272,10 +272,12 @@ popup._readStorage = function () {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
storageManager.type.get([
|
storageManager.type.get([
|
||||||
Setting.NEGATE_HTML_FILTER_LIST,
|
Setting.NEGATE_HTML_FILTER_LIST,
|
||||||
Setting.LOGGING
|
Setting.LOGGING,
|
||||||
|
Setting.HIDE_DONATION_BUTTON
|
||||||
], function (items) {
|
], function (items) {
|
||||||
popup.negateHtmlFilterList = items.negateHtmlFilterList;
|
popup.negateHtmlFilterList = items.negateHtmlFilterList;
|
||||||
popup._loggingStatus = items.enableLogging;
|
popup._loggingStatus = items.enableLogging;
|
||||||
|
popup.hideDonationButton = items.hideDonationButton;
|
||||||
resolve();
|
resolve();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue