mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing broken HUD for favoriting comments.
This commit is contained in:
parent
17c1450951
commit
3160245722
2 changed files with 5 additions and 3 deletions
|
@ -1011,6 +1011,7 @@ shouldStartLoadWithRequest:(NSURLRequest *)request
|
|||
|
||||
appDelegate.activeFeedStories = [NSArray arrayWithArray:newActiveFeedStories];
|
||||
|
||||
[MBProgressHUD hideHUDForView:appDelegate.storyPageControl.view animated:NO];
|
||||
[self refreshComments:@"like"];
|
||||
}
|
||||
|
||||
|
@ -1119,10 +1120,11 @@ shouldStartLoadWithRequest:(NSURLRequest *)request
|
|||
// // adding in a simulated delay
|
||||
// sleep(1);
|
||||
|
||||
self.storyHUD = [MBProgressHUD showHUDAddedTo:self.view animated:YES];
|
||||
self.storyHUD.customView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"37x-Checkmark.png"]];
|
||||
self.storyHUD.mode = MBProgressHUDModeCustomView;
|
||||
self.storyHUD.removeFromSuperViewOnHide = YES;
|
||||
|
||||
|
||||
if ([shareType isEqualToString:@"reply"]) {
|
||||
self.storyHUD.labelText = @"Replied";
|
||||
} else if ([shareType isEqualToString:@"edit-reply"]) {
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
// #define BACKGROUND_REFRESH_SECONDS -5
|
||||
#define BACKGROUND_REFRESH_SECONDS -10*60
|
||||
|
||||
// #define NEWSBLUR_URL [NSString stringWithFormat:@"nb.local.com"]
|
||||
#define NEWSBLUR_URL [NSString stringWithFormat:@"www.newsblur.com"]
|
||||
#define NEWSBLUR_URL [NSString stringWithFormat:@"nb.local.com"]
|
||||
// #define NEWSBLUR_URL [NSString stringWithFormat:@"www.newsblur.com"]
|
||||
|
||||
#define NEWSBLUR_LINK_COLOR 0x405BA8
|
||||
#define NEWSBLUR_HIGHLIGHT_COLOR 0xd2e6fd
|
||||
|
|
Loading…
Add table
Reference in a new issue