Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Commit

Permalink
#11 removed non-needed default value for a newly non-null font proper…
Browse files Browse the repository at this point in the history
…ty from theme
  • Loading branch information
Paul Jones committed Aug 19, 2016
1 parent a73ca48 commit 40e5772
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ - (void)updateViewWithCollectionItem:(NSDictionary *)collectionItem

UIButton *albumButton = [UIButton buttonWithType:UIButtonTypeSystem];
albumButton.tintColor = self.theme.titleLabelTextColor;
albumButton.titleLabel.font = self.theme.titleLabelFont ?: [UIFont systemFontOfSize:18.0];
albumButton.titleLabel.font = self.theme.titleLabelFont;
[albumButton addTarget:self action:@selector(presentAlbumPickerView:) forControlEvents:UIControlEventTouchUpInside];
[albumButton setTitle:photoCollection.localizedTitle forState:UIControlStateNormal];
UIImage *arrowDownImage = [UIImage imageNamed:@"YMSIconSpinnerDropdwon" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil];
Expand Down

0 comments on commit 40e5772

Please sign in to comment.