mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-07-05 19:10:52 +00:00
fixed user error 🤦
This commit is contained in:
parent
8ffe93d068
commit
ab4b7fe12d
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ const actions = {
|
||||||
// if (disableDesktopNotification === true) return
|
// if (disableDesktopNotification === true) return
|
||||||
|
|
||||||
// if (!isElectron || disableDesktopNotification === undefined) return;
|
// if (!isElectron || disableDesktopNotification === undefined) return;
|
||||||
if (isMobile) return;
|
if (isMobile()) return;
|
||||||
if (isElectron && disableDesktopNotification === undefined) return sendNotification();
|
if (isElectron && disableDesktopNotification === undefined) return sendNotification();
|
||||||
if (disableDesktopNotification !== undefined && disableDesktopNotification === false) return sendNotification()
|
if (disableDesktopNotification !== undefined && disableDesktopNotification === false) return sendNotification()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue