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:
parent
048abd7f4c
commit
9fdd99943e
@ -118,7 +118,7 @@ class DefaultBrowserNotificationWorker(
|
|||||||
|
|
||||||
instanceWorkManager.beginUniqueWork(
|
instanceWorkManager.beginUniqueWork(
|
||||||
NOTIFICATION_WORK_NAME,
|
NOTIFICATION_WORK_NAME,
|
||||||
ExistingWorkPolicy.REPLACE,
|
ExistingWorkPolicy.KEEP,
|
||||||
notificationWork
|
notificationWork
|
||||||
).enqueue()
|
).enqueue()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user