Skip to content

Commit 5455d84

Browse files
committed
Fix merging fontWeight with default options
1 parent 8e4d509 commit 5455d84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ios/RNNNavigationControllerPresenter.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ - (void)mergeOptions:(RNNNavigationOptions *)newOptions currentOptions:(RNNNavig
128128
RNNNavigationOptions * withDefault = (RNNNavigationOptions *) [[newOptions mergeInOptions:currentOptions] withDefault:[self defaultOptions]];
129129
[navigationController rnn_setNavigationBarFontFamily:[withDefault.topBar.title.fontFamily getWithDefaultValue:nil]
130130
fontSize:[withDefault.topBar.title.fontSize getWithDefaultValue:nil]
131-
fontWeight:[newOptions.topBar.title.fontWeight getWithDefaultValue:nil]
131+
fontWeight:[withDefault.topBar.title.fontWeight getWithDefaultValue:nil]
132132
color:[withDefault.topBar.title.color getWithDefaultValue:nil]];
133133

134134
if (newOptions.topBar.component.name.hasValue) {

0 commit comments

Comments
 (0)