Skip to content

Commit

Permalink
fixed color mode not persisting
Browse files Browse the repository at this point in the history
  • Loading branch information
EliWimmer committed Feb 11, 2022
1 parent 283f5a7 commit ebac4cc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "notion-style-tweaks",
"version": "0.4.1",
"version": "0.4.2",
"private": true,
"scripts": {
"build": "rollup -c",
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Notion Style Tweaks",
"description": "Tweaks for Notion",
"homepage_url": "https://github.com/EliWimmer/notion-style-tweaks",
"version": "0.4.1",
"version": "0.4.2",
"manifest_version": 3,
"action": {
"default_title": "Notion Style Tweaks",
Expand Down
2 changes: 1 addition & 1 deletion src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import Scope from "./components/Scope.svelte";
</script>

<Header content={"Notion Style Tweaks"} version={"v0.4.1 beta"}/>
<Header content={"Notion Style Tweaks"} version={"v0.4.2 beta"}/>
<app>
<Sidemenu />
<main>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
function modeToggle() {
darkMode ? darkMode = false : darkMode = true;
settings.darkMode = darkMode;
chrome.storage.sync.set({settings});
chrome.storage.local.set({settings});
}
function modeApply(remove, add) {
Expand Down

0 comments on commit ebac4cc

Please sign in to comment.