File tree Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ dist-ssr
15
15
# Editor directories and files
16
16
.vscode /*
17
17
! .vscode /extensions.json
18
+ ! .vscode /settings.json
18
19
.idea
19
20
.DS_Store
20
21
* .suo
Original file line number Diff line number Diff line change
1
+ {
2
+ // The number of spaces a tab is equal to. This setting is overridden
3
+ // based on the file contents when `editor.detectIndentation` is true.
4
+ "editor.tabSize" : 2 ,
5
+ // Insert spaces when pressing Tab. This setting is overriden
6
+ // based on the file contents when `editor.detectIndentation` is true.
7
+ "editor.insertSpaces" : false ,
8
+ // When opening a file, `editor.tabSize` and `editor.insertSpaces`
9
+ // will be detected based on the file contents. Set to false to keep
10
+ // the values you've explicitly set, above.
11
+ "editor.detectIndentation" : false
12
+ }
Original file line number Diff line number Diff line change @@ -26,15 +26,18 @@ function App() {
26
26
} ;
27
27
const storedTimerObj = localStorage . getItem ( LOCALSTORAGEKEYS . LIFESPANOFSCR ) ;
28
28
const timerObj = storedTimerObj ? JSON . parse ( storedTimerObj ) as TIMER : defaultTimerObj ;
29
- console . log ( 'timerObk' , timerObj ) ;
30
29
return timerObj ;
31
30
} ) ;
32
31
const [ showMsg , setShowMsg ] = useState < boolean > ( false ) ;
33
32
34
33
// to start the app automaticall on startup
35
34
useLayoutEffect ( ( ) => {
36
35
( async ( ) => {
37
- await enable ( )
36
+ await enable ( ) ;
37
+ await startListeningForScreenShot (
38
+ userScrDir ,
39
+ convertTimeToMiliSeconds ( timerToDelScreenShot . time , timerToDelScreenShot . unit )
40
+ ) ;
38
41
} ) ( )
39
42
} , [ ] )
40
43
You can’t perform that action at this time.
0 commit comments