Permalink
Browse files

Merge pull request #159 from alistairmcmillan/develop

Fix for Facebook post not working
  • Loading branch information...
alistairmcmillan committed Mar 31, 2016
2 parents c114e74 + 6e48b2c commit fea84e3f69324211cf666faa804165912ea28763
Showing with 3 additions and 1 deletion.
  1. +3 −1 Classes/WDCanvasController.m
@@ -1415,7 +1415,9 @@ - (void) postOnFacebook:(id)sender
[facebookSheet addImage:self.drawing.image];
[facebookSheet setInitialText:NSLocalizedString(@"Check out my Inkpad drawing!", @"Check out my Inkpad drawing!")];
- [self presentViewController:facebookSheet animated:YES completion:nil];
+ dispatch_async(dispatch_get_main_queue(), ^ {
+ [self presentViewController:facebookSheet animated:YES completion:nil];
+ });
}
- (void) tweetDrawing:(id)sender

0 comments on commit fea84e3

Please sign in to comment.