mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Adjust update view header to iOS 7 style
This commit is contained in:
@@ -270,6 +270,11 @@
|
||||
[self.tableView addSubview:topView];
|
||||
|
||||
_appStoreHeader = [[BITAppStoreHeader alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, kAppStoreViewHeight)];
|
||||
if ([self.updateManager isPreiOS7Environment]) {
|
||||
_appStoreHeader.style = BITAppStoreHeaderStyleDefault;
|
||||
} else {
|
||||
_appStoreHeader.style = BITAppStoreHeaderStyleOS7;
|
||||
}
|
||||
[self updateAppStoreHeader];
|
||||
|
||||
NSString *iconString = nil;
|
||||
|
||||
Reference in New Issue
Block a user