Permalink
Browse files

Fix for Facebook post not working

  • Loading branch information...
alistairmcmillan committed Mar 31, 2016
1 parent aaee520 commit 6e48b2cfb0f6c1d8dd6007b2daf566f635e4ceb9
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 6e48b2c

Please sign in to comment.