Oops: Hide the donation button (part 2)

This commit is contained in:
nobody 2021-02-21 20:00:21 +01:00
parent 7e2027db65
commit 2ad6891398
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
1 changed files with 3 additions and 1 deletions

View File

@ -272,10 +272,12 @@ popup._readStorage = function () {
return new Promise((resolve) => {
storageManager.type.get([
Setting.NEGATE_HTML_FILTER_LIST,
Setting.LOGGING
Setting.LOGGING,
Setting.HIDE_DONATION_BUTTON
], function (items) {
popup.negateHtmlFilterList = items.negateHtmlFilterList;
popup._loggingStatus = items.enableLogging;
popup.hideDonationButton = items.hideDonationButton;
resolve();
});
});