mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixed #1824 (story image width is wrong on launch)
This commit is contained in:
parent
ede121e144
commit
cea1b424ea
1 changed files with 9 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
|||
|
||||
@property (nonatomic) CGFloat statusBarHeight;
|
||||
@property (nonatomic) BOOL wasNavigationBarHidden;
|
||||
@property (nonatomic) BOOL doneInitialRefresh;
|
||||
@property (nonatomic, strong) NSTimer *autoscrollTimer;
|
||||
@property (nonatomic, strong) NSTimer *autoscrollViewTimer;
|
||||
@property (nonatomic, strong) NSString *restoringStoryId;
|
||||
|
@ -1099,6 +1100,14 @@
|
|||
}
|
||||
|
||||
[self becomeFirstResponder];
|
||||
|
||||
if (!self.isPhoneOrCompact && !self.doneInitialRefresh) {
|
||||
self.doneInitialRefresh = YES;
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 0.1 * NSEC_PER_SEC),
|
||||
dispatch_get_main_queue(), ^{
|
||||
[self refreshPages];
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
- (void)changeToNextPage:(id)sender {
|
||||
|
|
Loading…
Add table
Reference in a new issue