diff --git a/clients/ios/Classes/PremiumViewController.xib b/clients/ios/Classes/PremiumViewController.xib index 75bfb32c3..e45a05877 100644 --- a/clients/ios/Classes/PremiumViewController.xib +++ b/clients/ios/Classes/PremiumViewController.xib @@ -1,11 +1,11 @@ - + - + diff --git a/clients/ios/Classes/StoryDetailViewController.m b/clients/ios/Classes/StoryDetailViewController.m index 671dac1cf..eec025c41 100644 --- a/clients/ios/Classes/StoryDetailViewController.m +++ b/clients/ios/Classes/StoryDetailViewController.m @@ -2029,8 +2029,7 @@ shouldStartLoadWithRequest:(NSURLRequest *)request if (copy) { [UIPasteboard generalPasteboard].image = image; [self flashCheckmarkHud:@"copied"]; - } - if (save) { + } else if (save) { [[PHPhotoLibrary sharedPhotoLibrary] performChanges:^{ PHAssetChangeRequest *changeRequest = [PHAssetChangeRequest creationRequestForAssetFromImage:image]; changeRequest.creationDate = [NSDate date]; @@ -2131,6 +2130,7 @@ shouldStartLoadWithRequest:(NSURLRequest *)request - (void)flashCheckmarkHud:(NSString *)messageType { [MBProgressHUD hideHUDForView:self.webView animated:NO]; + [MBProgressHUD hideHUDForView:appDelegate.storyPageControl.currentPage.view animated:NO]; self.storyHUD = [MBProgressHUD showHUDAddedTo:self.webView animated:YES]; self.storyHUD.customView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"37x-Checkmark.png"]]; self.storyHUD.mode = MBProgressHUDModeCustomView; diff --git a/clients/ios/Classes/StoryPageControl.m b/clients/ios/Classes/StoryPageControl.m index 22f860ae9..1e82cb9e3 100644 --- a/clients/ios/Classes/StoryPageControl.m +++ b/clients/ios/Classes/StoryPageControl.m @@ -1247,10 +1247,11 @@ #pragma mark HUDs - (void)showShareHUD:(NSString *)msg { -// [MBProgressHUD hideHUDForView:self.view animated:NO]; + [MBProgressHUD hideHUDForView:self.view animated:NO]; self.storyHUD = [MBProgressHUD showHUDAddedTo:currentPage.view animated:YES]; self.storyHUD.labelText = msg; self.storyHUD.margin = 20.0f; + self.storyHUD.removeFromSuperViewOnHide = YES; self.currentPage.noStoryMessage.hidden = YES; }