fixed user error 🤦

This commit is contained in:
supertiger1234 2019-10-16 10:57:50 +01:00
parent 8ffe93d068
commit ab4b7fe12d

View file

@ -183,7 +183,7 @@ const actions = {
// if (disableDesktopNotification === true) return
// if (!isElectron || disableDesktopNotification === undefined) return;
if (isMobile) return;
if (isMobile()) return;
if (isElectron && disableDesktopNotification === undefined) return sendNotification();
if (disableDesktopNotification !== undefined && disableDesktopNotification === false) return sendNotification()