From 5af1123219dfa59eb86343f5a11184e155c5c1d9 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Fri, 23 Feb 2018 10:14:58 -0500 Subject: [PATCH] Fix freeze in host app after "dismissing" select thread VC We must call these completion handlers whenever we exit the SAE // FREEBIE --- .../attachments/SharingThreadPickerViewController.m | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/SignalMessaging/attachments/SharingThreadPickerViewController.m b/SignalMessaging/attachments/SharingThreadPickerViewController.m index 1edce5f64..eb45c1419 100644 --- a/SignalMessaging/attachments/SharingThreadPickerViewController.m +++ b/SignalMessaging/attachments/SharingThreadPickerViewController.m @@ -171,6 +171,13 @@ typedef void (^SendMessageBlock)(SendCompletionBlock completion); } } +// override +- (void)dismissPressed:(id)sender +{ + DDLogDebug(@"%@ tapped dismiss share button", self.logTag); + [self cancelShareExperience]; +} + - (void)didTapCancelShareButton { DDLogDebug(@"%@ tapped cancel share button", self.logTag);