Skip to content

Commit

Permalink
Missing code from last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbbb committed Jul 31, 2020
1 parent 6d44e80 commit ba89612
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ios/EXSMS/EXSMSModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,7 @@ - (void)setModuleRegistry:(UMModuleRegistry *)moduleRegistry
}
messageComposeViewController.body = message;
messageComposeViewController.message = iMessage;
UM_WEAKIFY(self);
[UMUtilities performSynchronouslyOnMainThread:^{
UM_ENSURE_STRONGIFY(self);
[self.utils.currentViewController presentViewController:messageComposeViewController animated:YES completion:nil];
}];
[self.utils.currentViewController presentViewController:messageComposeViewController animated:YES completion:nil];
}
- (void)messageComposeViewController:(MFMessageComposeViewController *)controller
didFinishWithResult:(MessageComposeResult)result
Expand Down

0 comments on commit ba89612

Please sign in to comment.