mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-19 02:36:29 +00:00
Fix method name
This commit is contained in:
@@ -236,7 +236,7 @@
|
||||
[self.contentViewContainer addSubview:self.textView];
|
||||
|
||||
// Add Photo Button + Container that's displayed above the keyboard.
|
||||
if([BITHockeyHelper isPhotoAccessSupported]) {
|
||||
if([BITHockeyHelper isPhotoAccessPossible]) {
|
||||
self.textAccessoryView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, CGRectGetWidth(self.view.frame), 44)];
|
||||
self.textAccessoryView.backgroundColor = [UIColor colorWithRed:0.9f green:0.9f blue:0.9f alpha:1.0f];
|
||||
|
||||
|
||||
@@ -392,7 +392,7 @@ typedef void (^BITLatestImageFetchCompletionBlock)(UIImage *_Nonnull latestImage
|
||||
}
|
||||
|
||||
- (BOOL)isiOS10PhotoPolicySet {
|
||||
BOOL isiOS10PhotoPolicySet = [BITHockeyHelper isPhotoAccessSupported];
|
||||
BOOL isiOS10PhotoPolicySet = [BITHockeyHelper isPhotoAccessPossible];
|
||||
if(bit_isDebuggerAttached()) {
|
||||
if(!isiOS10PhotoPolicySet) {
|
||||
BITHockeyLogWarning(@"You are using HockeyApp's Feedback feature in iOS 10 or later. iOS 10 requires you to add the usage strings to your app's info.plist. "
|
||||
|
||||
Reference in New Issue
Block a user