-
-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ransome1
committed
Oct 9, 2023
1 parent
d00886f
commit 655150b
Showing
8 changed files
with
248 additions
and
231 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
|
||
2023-09-29 Line 1 rec:1d due:2023-09-30 | ||
2023-09-29 Line 1 rec:w due:2023-10-06 | ||
2023-09-29 Line 1 rec:2m due:2023-11-29 | ||
2023-09-29 Line 1 rec:+1d due:2023-10-01 | ||
2023-09-29 Line 1 rec:7w due:2023-11-17 | ||
2023-10-09 Line 1 rec:1d due:2023-10-10 | ||
2023-10-09 Line 1 rec:w due:2023-10-16 | ||
2023-10-09 Line 1 rec:2m due:2023-12-09 | ||
2023-10-09 Line 1 rec:+1d due:2023-10-11 | ||
2023-10-09 Line 1 rec:7w due:2023-11-27 | ||
2023-07-21 Line 1 due:2023-07-24 rec:+1b | ||
2021-01-01 taxes are due in one year t:2022-03-30 due:2022-04-30 rec:+1y | ||
2023-09-29 Water plants @home +quick due:2023-10-06 t:2023-09-26 rec:1w | ||
2023-09-29 Line 1 rec:+1d t:2023-09-20 due:2023-09-30 | ||
2023-10-09 Water plants @home +quick due:2023-10-16 t:2023-10-06 rec:1w | ||
2023-10-09 Line 1 rec:+1d t:2023-09-20 due:2023-10-10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Line 1 | ||
Edited line | ||
New line | ||
2023-09-29 New line with creation date | ||
2023-10-09 New line with creation date | ||
New line with relative threshold date t:June 3rd, 2005 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { nativeTheme } from 'electron'; | ||
import { mainWindow } from '../main'; | ||
import createTray from './Tray'; | ||
import { configStorage } from '../config'; | ||
|
||
const handleTheme = () => { | ||
const shouldUseDarkColors = nativeTheme.shouldUseDarkColors; | ||
|
||
configStorage.set('shouldUseDarkColors', shouldUseDarkColors); | ||
|
||
mainWindow!.webContents.send('setShouldUseDarkColors', shouldUseDarkColors); | ||
|
||
createTray().then(result => { | ||
console.log('config.ts:', result); | ||
}).catch(error => { | ||
console.error('config.ts:', error); | ||
}); | ||
} | ||
|
||
export default handleTheme; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,4 +74,4 @@ function createTray() { | |
} | ||
} | ||
|
||
export { createTray }; | ||
export default createTray; |