forked from shadowfacts/Tusker
Fix swipe action completion handler not being called
This commit is contained in:
parent
93e72e1cb6
commit
3a3af77907
|
@ -308,6 +308,7 @@ class ExploreViewController: UIViewController, UICollectionViewDelegate, Collect
|
||||||
actions.append(UIContextualAction(style: .destructive, title: "Unsave", handler: { _, _, completion in
|
actions.append(UIContextualAction(style: .destructive, title: "Unsave", handler: { _, _, completion in
|
||||||
context.delete(existing)
|
context.delete(existing)
|
||||||
try! context.save()
|
try! context.save()
|
||||||
|
completion(true)
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
if mastodonController.instanceFeatures.canFollowHashtags,
|
if mastodonController.instanceFeatures.canFollowHashtags,
|
||||||
|
|
Loading…
Reference in New Issue