Skip to content

Commit

Permalink
[ios] Fix bug that reverts navbar title size to 17 (wix#5297)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcvz authored and vshkl committed Feb 5, 2020
1 parent f0121a9 commit 086c91f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ios/RNNNavigationControllerPresenter.m
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ - (void)applyOptionsOnViewDidLayoutSubviews:(RNNNavigationOptions *)options {
- (void)applyOptionsBeforePopping:(RNNNavigationOptions *)options {
RNNNavigationController* navigationController = self.boundViewController;
[navigationController setTopBarBackgroundColor:[options.topBar.background.color getWithDefaultValue:nil]];
[navigationController rnn_setNavigationBarFontFamily:[options.topBar.title.fontFamily getWithDefaultValue:nil] fontSize:[options.topBar.title.fontSize getWithDefaultValue:@(17)] color:[options.topBar.title.color getWithDefaultValue:[UIColor blackColor]]];
[navigationController rnn_setNavigationBarFontFamily:[options.topBar.title.fontFamily getWithDefaultValue:nil] fontSize:[options.topBar.title.fontSize getWithDefaultValue:nil] color:[options.topBar.title.color getWithDefaultValue:[UIColor blackColor]]];
[navigationController rnn_setNavigationBarLargeTitleVisible:[options.topBar.largeTitle.visible getWithDefaultValue:NO]];
}

Expand Down

0 comments on commit 086c91f

Please sign in to comment.