From 951f565c210e7f067acc7b82602edf5de0059e9b Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Wed, 12 Aug 2015 16:13:35 +0300 Subject: [PATCH] ios code fixed --- apps/tests/ui/search-bar/search-bar-tests.ts | 7 +------ ui/styling/stylers.ios.ts | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/apps/tests/ui/search-bar/search-bar-tests.ts b/apps/tests/ui/search-bar/search-bar-tests.ts index c0a20e54f..7164134f5 100644 --- a/apps/tests/ui/search-bar/search-bar-tests.ts +++ b/apps/tests/ui/search-bar/search-bar-tests.ts @@ -62,13 +62,8 @@ export var testSearchBarFontSize = function () { helper.buildUIAndRunTest(_createSearchBarFunc(), function (views: Array) { var searchBar = views[0]; - // TODO: create IOS test once IOS support is working - if (!searchBar.android) { - return; - } - searchBar.text = ""; - searchBar.hint = "hint color test"; + searchBar.hint = "hint font-size test"; var expectedValue = 30; var actualValue; diff --git a/ui/styling/stylers.ios.ts b/ui/styling/stylers.ios.ts index 1851888d8..f338cae72 100644 --- a/ui/styling/stylers.ios.ts +++ b/ui/styling/stylers.ios.ts @@ -442,7 +442,7 @@ export class SearchBarStyler implements definition.stylers.Styler { var bar = view.ios; var sf = bar.valueForKey("_searchField"); if (sf) { - sf.font = (newValue).getUIFont(newValue); + sf.font = (newValue).getUIFont(nativeValue); } }