From 40e57727b31d54e6bc891d2c9e880c17062c120c Mon Sep 17 00:00:00 2001 From: Paul Jones <paulmmj@gmail.com> Date: Fri, 19 Aug 2016 10:50:17 -0400 Subject: [PATCH] #11 removed non-needed default value for a newly non-null font property from theme --- .../YMSPhotoPicker/Public/YMSPhotoPickerViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YangMingShan/YMSPhotoPicker/Public/YMSPhotoPickerViewController.m b/YangMingShan/YMSPhotoPicker/Public/YMSPhotoPickerViewController.m index 9b7ef7c..7339805 100644 --- a/YangMingShan/YMSPhotoPicker/Public/YMSPhotoPickerViewController.m +++ b/YangMingShan/YMSPhotoPicker/Public/YMSPhotoPickerViewController.m @@ -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];