Skip to content

Commit

Permalink
fix: do not actually use OptionsManagement.isDarkMode as it does not …
Browse files Browse the repository at this point in the history
…exist
  • Loading branch information
gyng committed Feb 13, 2023
1 parent bc0b7b1 commit 8960e02
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 3.7.2

* Fix light mode icon again

# 3.7.1

* Fix invalid default menu configuration
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "__MSG_extensionName__",
"description": "__MSG_extensionDescription__",
"version": "3.7.1",
"version": "3.7.2",
"default_locale": "en",

"applications": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "save-in",
"version": "3.7.1",
"version": "3.7.2",
"license": "MIT",
"scripts": {
"build": "env -u WEB_EXT_API_KEY -u WEB_EXT_API_SECRET web-ext build --overwrite-dest -i test docs yarn.lock yarn-error.log",
Expand Down
4 changes: 1 addition & 3 deletions src/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,7 @@ const Menus = {
browser.contextMenus.create(
Object.assign({}, lastUsedMenuOptions, {
icons: {
16: OptionsManagement.isDarkMode()
? "icons/ic_update_light_24px.svg"
: "icons/ic_update_black_24px.svg",
16: "icons/ic_update_black_24px.svg",
},
})
);
Expand Down

0 comments on commit 8960e02

Please sign in to comment.