Skip to content

Commit

Permalink
refactor: simplify boolean logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Alastair Hawkes authored and sekwah41 committed Apr 28, 2022
1 parent e93f009 commit a1b74b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main/src/store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if (store.get("isDarkMode") == null) {
}

if (store.get("useNativeTitlebar") == null) {
store.set("useNativeTitlebar", isWindow() ? false : true);
store.set("useNativeTitlebar", !isWindow());
}

export default store;

0 comments on commit a1b74b6

Please sign in to comment.