mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Use the request ID as the background task ID
This commit is contained in:
parent
974757c7da
commit
a17cb72527
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ final class ShareExtensionViewModel: ObservableObject {
|
|||
}
|
||||
|
||||
func savePage(extensionContext: NSExtensionContext?) {
|
||||
backgroundTask = UIApplication.shared.beginBackgroundTask(withName: "BACKGROUND")
|
||||
backgroundTask = UIApplication.shared.beginBackgroundTask(withName: requestID)
|
||||
|
||||
PageScraper.scrape(extensionContext: extensionContext) { [weak self] result in
|
||||
switch result {
|
||||
|
|
|
|||
Loading…
Reference in a new issue