mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Make individual components delegate private
The `delegate` property should only be set on `[BITHockeyManager sharedHockeyManager]` which will then propagade it to all components. Setting the delegate individually per component could cause undefined behaviour.
This commit is contained in:
@@ -75,16 +75,6 @@ typedef NS_ENUM(NSInteger, BITStoreUpdateSetting) {
|
||||
|
||||
@interface BITStoreUpdateManager : BITHockeyBaseManager
|
||||
|
||||
///-----------------------------------------------------------------------------
|
||||
/// @name Delegate
|
||||
///-----------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
Sets the optional `BITStoreUpdateManagerDelegate` delegate.
|
||||
*/
|
||||
@property (nonatomic, weak) id delegate;
|
||||
|
||||
|
||||
///-----------------------------------------------------------------------------
|
||||
/// @name Update Checking
|
||||
///-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user