diff options
Diffstat (limited to 'src/electron')
-rw-r--r-- | src/electron/ipc-api/dnd.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/electron/ipc-api/dnd.ts b/src/electron/ipc-api/dnd.ts index 6e6e0920f..30ace7c84 100644 --- a/src/electron/ipc-api/dnd.ts +++ b/src/electron/ipc-api/dnd.ts | |||
@@ -17,7 +17,7 @@ export default async () => { | |||
17 | } | 17 | } |
18 | 18 | ||
19 | try { | 19 | try { |
20 | const isDND = getDoNotDisturb(); | 20 | const isDND = await getDoNotDisturb(); |
21 | debug('Fetching DND state, set to', isDND); | 21 | debug('Fetching DND state, set to', isDND); |
22 | return isDND; | 22 | return isDND; |
23 | } catch (error) { | 23 | } catch (error) { |