mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
fix update button not appearing
first set the button to the ivar, then apply the state Signed-off-by: Andreas Linde <mail@andreaslinde.de>
This commit is contained in:
committed by
Andreas Linde
parent
561298ddcc
commit
994812ee43
@@ -367,9 +367,9 @@
|
||||
storeButton.buttonDelegate = self;
|
||||
[self.tableView.tableHeaderView addSubview:storeButton];
|
||||
storeButton.buttonData = [PSStoreButtonData dataWithLabel:@"" colors:[PSStoreButton appStoreGrayColor] enabled:NO];
|
||||
self.appStoreButtonState = AppStoreButtonStateCheck;
|
||||
[storeButton alignToSuperview];
|
||||
_appStoreButton = [storeButton retain];
|
||||
self.appStoreButtonState = AppStoreButtonStateCheck;
|
||||
}
|
||||
|
||||
- (void)viewWillAppear:(BOOL)animated {
|
||||
|
||||
Reference in New Issue
Block a user