diff options
author | André Oliveira <37463445+SpecialAro@users.noreply.github.com> | 2023-10-18 16:46:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-18 16:46:30 +0100 |
commit | 52070bd9a546b79a79ade47682359baca6eea1de (patch) | |
tree | 08cdf3152d4d930e0e3d6783b0427b228af18757 /src | |
parent | 6.5.3-nightly.1 [skip ci] (diff) | |
download | ferdium-app-52070bd9a546b79a79ade47682359baca6eea1de.tar.gz ferdium-app-52070bd9a546b79a79ade47682359baca6eea1de.tar.zst ferdium-app-52070bd9a546b79a79ade47682359baca6eea1de.zip |
Update macos-notification-state for patched v3.0.0 (#1401)
* Update macos-notification-state for patched v3.0.0
* Update to fix on making it OS specific
---------
Co-authored-by: Alphrag <34252790+Alphrag@users.noreply.github.com>
Diffstat (limited to 'src')
-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) { |