[ios] Fixed crash.

This commit is contained in:
Ilya Grechuhin 2016-08-22 12:47:23 +03:00
parent a3c74893e8
commit 386aa98cd6

View file

@ -38,8 +38,6 @@ static NSString * const kStatisticsEvent = @"Routing Disclaimer Alert";
NSForegroundColorAttributeName : UIColor.blackSecondaryText
}];
[alert.textView sizeToFit];
alert.textView.keyboardAppearance =
[UIColor isNightMode] ? UIKeyboardAppearanceDark : UIKeyboardAppearanceDefault;
UIWindow * window = UIApplication.sharedApplication.keyWindow;
CGFloat height;
if (isIOS7)