From 2ad68913981bb4d3d0a419fb6a6990d87bd8f82c Mon Sep 17 00:00:00 2001 From: nobody Date: Sun, 21 Feb 2021 20:00:21 +0100 Subject: [PATCH] Oops: Hide the donation button (part 2) --- pages/popup/popup.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/popup/popup.js b/pages/popup/popup.js index 4b5e9bd0..d92fcc68 100644 --- a/pages/popup/popup.js +++ b/pages/popup/popup.js @@ -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(); }); });