Remove allow notifications setting, it can be handled natively

This commit is contained in:
Lncvrt committed 2026-05-08 17:40:49 -07:00
1 parent 68864356b1
commit 3cc7257923
5 files changed
+21 -57

No files matched your search

+8 -10
View File
@@ -19,7 +19,6 @@ export default function DownloadsPopup () {
setDownloadProgress,
downloadQueue,
setDownloadQueue,
notificationsAllowed,
versionsList,
modsList,
versions,
@@ -117,15 +116,14 @@ export default function DownloadsPopup () {
: d
)
)
if (notificationsAllowed)
await notifyUser(
'Download Failed',
`The download for version ${
serverVersionList?.versions.find(
vf => vf.id == v.version
)?.displayName
} has failed.`
)
await notifyUser(
'Download Failed',
`The download for version ${
serverVersionList?.versions.find(
vf => vf.id == v.version
)?.displayName
} has failed.`
)
await getCurrentWindow().requestUserAttention(
UserAttentionType.Critical
)