Pārlūkot izejas kodu

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

David Chavez 5 gadus atpakaļ
vecāks
revīzija
e677f97cb7
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      lib/ios/RNNNavigationControllerPresenter.m

+ 1
- 1
lib/ios/RNNNavigationControllerPresenter.m Parādīt failu

@@ -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