#1566 (finding story weird animation)

This commit is contained in:
David Sinclair 2021-12-07 19:55:03 -07:00
parent 9f7a9291a7
commit b5a4c377b6

View file

@ -1331,10 +1331,12 @@ typedef NS_ENUM(NSUInteger, MarkReadShowMenu)
return;
}
NSLog(@"Test for try feed");
[MBProgressHUD hideHUDForView:self.view animated:YES];
MBProgressHUD *HUD = [MBProgressHUD showHUDAddedTo:self.view animated:YES];
HUD.labelText = @"Finding story...";
if (![[MBProgressHUD HUDForView:self.view].labelText isEqualToString:@"Finding story..."]) {
[MBProgressHUD hideHUDForView:self.view animated:YES];
MBProgressHUD *HUD = [MBProgressHUD showHUDAddedTo:self.view animated:YES];
HUD.labelText = @"Finding story...";
}
for (int i = 0; i < [storiesCollection.activeFeedStories count]; i++) {
NSString *storyIdStr = [[storiesCollection.activeFeedStories
objectAtIndex:i] objectForKey:@"id"];