diff --git a/SWTableViewCell/PodFiles/SWUtilityButtonView.m b/SWTableViewCell/PodFiles/SWUtilityButtonView.m index c36908f7..fb202e90 100644 --- a/SWTableViewCell/PodFiles/SWUtilityButtonView.m +++ b/SWTableViewCell/PodFiles/SWUtilityButtonView.m @@ -132,7 +132,10 @@ - (void)pushBackgroundColors for (UIButton *button in self.utilityButtons) { - [self.buttonBackgroundColors addObject:button.backgroundColor]; + if (button.backgroundColor != nil) + { + [self.buttonBackgroundColors addObject:button.backgroundColor]; + } } }