2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/19846: Only add default browser notification work if work is not pending

This commit is contained in:
Roger Yang 2021-07-08 13:54:27 -04:00 committed by mergify[bot]
parent 048abd7f4c
commit 9fdd99943e

View File

@ -118,7 +118,7 @@ class DefaultBrowserNotificationWorker(
instanceWorkManager.beginUniqueWork(
NOTIFICATION_WORK_NAME,
ExistingWorkPolicy.REPLACE,
ExistingWorkPolicy.KEEP,
notificationWork
).enqueue()
}