Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -320,15 +320,16 @@ - (void)setNavTintColor:(id)color
TiThreadPerformOnMainThread(
^{
if (controller != nil) {
if (newColor == nil) {
TiColor *newTintColor = newColor;
if (newTintColor == nil) {
// Get from TabGroup
newColor = [TiUtils colorValue:[[self tabGroup] valueForKey:@"navTintColor"]];
newTintColor = [TiUtils colorValue:[[self tabGroup] valueForKey:@"navTintColor"]];
}
UINavigationBar *navBar = [[controller navigationController] navigationBar];
[navBar setTintColor:[newColor color]];
[navBar setTintColor:[newTintColor color]];
[self performSelector:@selector(refreshBackButton) withObject:nil afterDelay:0.0];
[newColor release];
}
[newColor release];
},
NO);
}
Expand Down
Loading