Explorar el Código

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

David Chavez hace 5 años
padre
commit
e677f97cb7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      lib/ios/RNNNavigationControllerPresenter.m

+ 1
- 1
lib/ios/RNNNavigationControllerPresenter.m Ver fichero

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