mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
color check added
This commit is contained in:
@@ -87,7 +87,10 @@ function onItemsPropertyChanged(data: dependencyObservable.PropertyChangeData) {
|
||||
for (tabIndex = 0; tabIndex < tabHost.getTabWidget().getTabCount(); tabIndex++) {
|
||||
var tabChild = <android.view.ViewGroup>tabHost.getTabWidget().getChildTabViewAt(tabIndex);
|
||||
var t = <android.widget.TextView>tabChild.getChildAt(1);
|
||||
t.setTextColor(view.color.android);
|
||||
|
||||
if (view.color) {
|
||||
t.setTextColor(view.color.android);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user