Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
whattherestimefor committed Nov 15, 2024
1 parent 9380ef3 commit d1ac4e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenInActionExtension/ActionRequestHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ private extension ActionRequestHandler {
"openURL": "mastodon://status/\(foundStatus.id)"
])
} else if let foundHashtag = value.hashtags.first {
Task {
Task { [weak self] in
await self?.continueWithSearch(foundHashtag.name)
}
} else {
Task {
Task { [weak self] in
await self?.continueWithSearch(url)
}
}
Expand Down

0 comments on commit d1ac4e8

Please sign in to comment.