mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Oops: Hide the donation button (part 2)
This commit is contained in:
@@ -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();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user