File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
FastImageCache/FastImageCacheDemo/Classes Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 2222+ (NSString *)reuseIdentifier ;
2323+ (NSInteger )photosPerRow ;
2424+ (CGFloat)outerPadding ;
25- + (CGFloat)rowHeightForInterfaceOrientation : (UIInterfaceOrientation) interfaceOrientation ;
25+ + (CGFloat)rowHeight ;
2626
2727@end
2828
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ + (CGFloat)outerPadding {
103103 return outerPadding;
104104}
105105
106- + (CGFloat)rowHeightForInterfaceOrientation : (UIInterfaceOrientation) interfaceOrientation {
106+ + (CGFloat)rowHeight {
107107 CGFloat rowHeight = ([[UIDevice currentDevice ] userInterfaceIdiom ] == UIUserInterfaceIdiomPad) ? 84 : 79 ;
108108
109109 return rowHeight;
Original file line number Diff line number Diff line change @@ -485,9 +485,7 @@ - (UITableViewCell*)tableView:(UITableView*)table cellForRowAtIndexPath:(NSIndex
485485#pragma mark - UITableViewDelegate
486486
487487- (CGFloat)tableView : (UITableView *)tableView heightForRowAtIndexPath : (NSIndexPath *)indexPath {
488- CGFloat rowHeight = [FICDPhotosTableViewCell rowHeightForInterfaceOrientation: [self interfaceOrientation ]];
489-
490- return rowHeight;
488+ return [FICDPhotosTableViewCell rowHeight ];
491489}
492490
493491- (void )tableView : (UITableView*)tableView didSelectRowAtIndexPath : (NSIndexPath *)indexPath {
@@ -551,7 +549,7 @@ - (void)photoDisplayController:(FICDFullscreenPhotoDisplayController *)photoDisp
551549 [self _updateStatusBarStyleForColorAveragedImage: colorAveragedImage];
552550 }
553551 } else {
554- [[UIApplication sharedApplication ] setStatusBarStyle: UIStatusBarStyleBlackTranslucent animated: YES ];
552+ [[UIApplication sharedApplication ] setStatusBarStyle: UIStatusBarStyleLightContent animated: YES ];
555553 }
556554}
557555
You can’t perform that action at this time.
0 commit comments