[ios] Fixed search bar text attributes setup.

This commit is contained in:
Ilya Grechuhin 2016-03-09 11:50:02 +03:00 committed by Sergey Yershov
parent 14ceacc381
commit bd368bafe8

View file

@ -684,7 +684,10 @@ using namespace osm_auth_ios;
textFieldInSearchBar = [UITextField appearanceWhenContainedInInstancesOfClasses:@[[UISearchBar class]]];
textField.backgroundColor = [UIColor white];
textFieldInSearchBar.defaultTextAttributes = @{NSForegroundColorAttributeName : [UIColor blackPrimaryText]};
textFieldInSearchBar.defaultTextAttributes = @{
NSForegroundColorAttributeName : [UIColor blackPrimaryText],
NSFontAttributeName : [UIFont regular14]
};
}
- (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification