mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-15 18:59:54 +00:00
Fix modulemap warning
This fixes an error when integration the crash only framework build
This commit is contained in:
parent
ef892581d6
commit
5258cdff36
@ -33,7 +33,9 @@
|
||||
|
||||
#import "BITHockeyBaseManager.h"
|
||||
#import "BITHockeyBaseManagerPrivate.h"
|
||||
#if HOCKEYSDK_FEATURE_AUTHENTICATOR || HOCKEYSDK_FEATURE_UPDATES || HOCKEYSDK_FEATURE_FEEDBACK
|
||||
#import "BITHockeyBaseViewController.h"
|
||||
#endif
|
||||
|
||||
#import "BITKeychainUtils.h"
|
||||
|
||||
@ -199,6 +201,9 @@
|
||||
}
|
||||
|
||||
- (void)showView:(UIViewController *)viewController {
|
||||
// if we compile Crash only, then BITHockeyBaseViewController is not included
|
||||
// in the headers and will cause a warning with the modulemap file
|
||||
#if HOCKEYSDK_FEATURE_AUTHENTICATOR || HOCKEYSDK_FEATURE_UPDATES || HOCKEYSDK_FEATURE_FEEDBACK
|
||||
UIViewController *parentViewController = nil;
|
||||
|
||||
if ([[BITHockeyManager sharedHockeyManager].delegate respondsToSelector:@selector(viewControllerForHockeyManager:componentManager:)]) {
|
||||
@ -259,6 +264,7 @@
|
||||
[(BITHockeyBaseViewController *)viewController setModalAnimated:NO];
|
||||
[visibleWindow addSubview:_navController.view];
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
- (BOOL)addStringValueToKeychain:(NSString *)stringValue forKey:(NSString *)key {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user