diff options
author | Ilya Grechuhin <i.grechuhin@gmail.com> | 2016-08-04 16:39:29 +0300 |
---|---|---|
committer | Ilya Grechuhin <i.grechuhin@gmail.com> | 2016-08-04 16:40:55 +0300 |
commit | 52574e0f2ae4bdfaadf4528bada2d75d797d59f4 (patch) | |
tree | 1c269fd1856f417d5a66711aa60cab9e847e940a /iphone/Common | |
parent | fb72277fb1e18dd0743979fe5a3f237515ca8132 (diff) |
[ios] Fixed UITextView keyboard coloring.
Diffstat (limited to 'iphone/Common')
-rw-r--r-- | iphone/Common/RichTextVC.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/iphone/Common/RichTextVC.mm b/iphone/Common/RichTextVC.mm index 5a8a7a0df9..6fe4b6e08e 100644 --- a/iphone/Common/RichTextVC.mm +++ b/iphone/Common/RichTextVC.mm @@ -1,4 +1,4 @@ - +#import "UIColor+MapsMeColor.h" #import "RichTextVC.h" #import "UIFont+MapsMeFonts.h" @@ -39,6 +39,7 @@ _textView.textContainerInset = UIEdgeInsetsMake(10, 5, 10, 5); _textView.font = [UIFont regular16]; _textView.dataDetectorTypes = UIDataDetectorTypeLink; + _textView.keyboardAppearance = [UIColor isNightMode] ? UIKeyboardAppearanceDark : UIKeyboardAppearanceDefault; } return _textView; } |