Fix swipe action completion handler not being called

This commit is contained in:
Shadowfacts 2024-09-10 10:18:08 -04:00
parent 93e72e1cb6
commit 3a3af77907
1 changed files with 1 additions and 0 deletions

View File

@ -308,6 +308,7 @@ class ExploreViewController: UIViewController, UICollectionViewDelegate, Collect
actions.append(UIContextualAction(style: .destructive, title: "Unsave", handler: { _, _, completion in
context.delete(existing)
try! context.save()
completion(true)
}))
}
if mastodonController.instanceFeatures.canFollowHashtags,