Skip to content

Commit 8323760

Browse files
committed
fix typo
1 parent 89f9390 commit 8323760

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ios/RNSScreenStackHeaderConfig.mm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ + (void)setAnimatedConfig:(UIViewController *)vc withConfig:(RNSScreenStackHeade
319319
// font customized on the navigation item level, so nothing to do here
320320
}
321321

322-
+ (void)setTitleAttibutes:(NSDictionary *)attrs forButton:(UIBarButtonItem *)button
322+
+ (void)setTitleAttributes:(NSDictionary *)attrs forButton:(UIBarButtonItem *)button
323323
{
324324
[button setTitleTextAttributes:attrs forState:UIControlStateNormal];
325325
[button setTitleTextAttributes:attrs forState:UIControlStateHighlighted];
@@ -888,7 +888,7 @@ - (void)configureCustomFontForCustomBackButton:(nonnull RNSBackBarButtonItem *)b
888888
} else {
889889
attrs[NSFontAttributeName] = [UIFont boldSystemFontOfSize:[size floatValue]];
890890
}
891-
[RNSScreenStackHeaderConfig setTitleAttibutes:attrs forButton:backBarButtonItem];
891+
[RNSScreenStackHeaderConfig setTitleAttributes:attrs forButton:backBarButtonItem];
892892
}
893893

894894
- (void)configureNativeBackItem:(nonnull UINavigationItem *)prevItem API_UNAVAILABLE(tvos)
@@ -965,7 +965,7 @@ - (void)configureLegacyBackItem:(nullable UINavigationItem *)prevItem
965965
} else {
966966
attrs[NSFontAttributeName] = [UIFont boldSystemFontOfSize:[size floatValue]];
967967
}
968-
[RNSScreenStackHeaderConfig setTitleAttibutes:attrs forButton:backBarButtonItem];
968+
[RNSScreenStackHeaderConfig setTitleAttributes:attrs forButton:backBarButtonItem];
969969
}
970970

971971
// Prevent unnecessary assignment of backBarButtonItem if it is not customized,

0 commit comments

Comments
 (0)