Skip to content

Commit

Permalink
Fixed setting correct background color for tab item
Browse files Browse the repository at this point in the history
  • Loading branch information
Falko Buttler committed Jan 17, 2015
1 parent e204ccd commit 5cc305f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RKTabView/RKTabView.m
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ - (void)setTabContent:(UIControl *)tab withTabItem:(RKTabItem *)tabItem {
tab.backgroundColor = self.enabledTabBackgrondColor;
}
} else {
tab.backgroundColor = tabItem.backgroundColor;
tab.backgroundColor = tabItem.backgroundColor ? tabItem.backgroundColor : [UIColor clearColor];
}
}

Expand Down

0 comments on commit 5cc305f

Please sign in to comment.