mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Merge branch 'dejal' into catalyst
This commit is contained in:
commit
9f314033a5
3 changed files with 10 additions and 3 deletions
|
@ -252,7 +252,10 @@ static NSArray<NSString *> *NewsBlurTopSectionNames;
|
|||
// [self.feedTitlesTable selectRowAtIndexPath:self.currentRowAtIndexPath
|
||||
// animated:NO
|
||||
// scrollPosition:UITableViewScrollPositionNone];
|
||||
[self hideNotifier];
|
||||
|
||||
if (self.notifier.pendingHide) {
|
||||
[self hideNotifier];
|
||||
}
|
||||
}
|
||||
|
||||
if (self.searchFeedIds) {
|
||||
|
|
|
@ -35,6 +35,7 @@ typedef enum {
|
|||
@property (nonatomic, strong) UIView *accessoryView;
|
||||
@property (nonatomic, strong) NSString *title;
|
||||
@property (nonatomic, assign) BOOL showing;
|
||||
@property (nonatomic, assign) BOOL pendingHide;
|
||||
@property (nonatomic, retain) UIView *progressBar;
|
||||
@property (nonatomic) NSLayoutConstraint *topOffsetConstraint;
|
||||
|
||||
|
|
|
@ -223,7 +223,8 @@
|
|||
return;
|
||||
}
|
||||
|
||||
showing = YES;
|
||||
self.showing = YES;
|
||||
self.pendingHide = NO;
|
||||
// CGRect frame = self.frame;
|
||||
// frame.size.width = self.view.frame.size.width;
|
||||
// self.frame = frame;
|
||||
|
@ -252,6 +253,7 @@
|
|||
|
||||
- (void)hideIn:(float)seconds {
|
||||
if (!self.window) {
|
||||
self.pendingHide = YES;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -267,7 +269,8 @@
|
|||
// self.hidden = YES;
|
||||
}];
|
||||
|
||||
showing = NO;
|
||||
self.showing = NO;
|
||||
self.pendingHide = NO;
|
||||
}
|
||||
|
||||
- (void)drawRect:(CGRect)rect{
|
||||
|
|
Loading…
Add table
Reference in a new issue