Browse Source

[ios] Fix bug that reverts navbar title size to 17 (#5297)

David Chavez 5 years ago
parent
commit
e677f97cb7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/ios/RNNNavigationControllerPresenter.m

+ 1
- 1
lib/ios/RNNNavigationControllerPresenter.m View File

@@ -61,7 +61,7 @@
61 61
 - (void)applyOptionsBeforePopping:(RNNNavigationOptions *)options {
62 62
 	RNNNavigationController* navigationController = self.boundViewController;
63 63
 	[navigationController setTopBarBackgroundColor:[options.topBar.background.color getWithDefaultValue:nil]];
64
-	[navigationController rnn_setNavigationBarFontFamily:[options.topBar.title.fontFamily getWithDefaultValue:nil] fontSize:[options.topBar.title.fontSize getWithDefaultValue:@(17)] color:[options.topBar.title.color getWithDefaultValue:[UIColor blackColor]]];
64
+	[navigationController rnn_setNavigationBarFontFamily:[options.topBar.title.fontFamily getWithDefaultValue:nil] fontSize:[options.topBar.title.fontSize getWithDefaultValue:nil] color:[options.topBar.title.color getWithDefaultValue:[UIColor blackColor]]];
65 65
 	[navigationController rnn_setNavigationBarLargeTitleVisible:[options.topBar.largeTitle.visible getWithDefaultValue:NO]];
66 66
 }
67 67