Skip to content

Commit cf186b4

Browse files
committed
fix typo
1 parent a157251 commit cf186b4

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
@@ -327,7 +327,7 @@ + (void)setAnimatedConfig:(UIViewController *)vc withConfig:(RNSScreenStackHeade
327327
// font customized on the navigation item level, so nothing to do here
328328
}
329329

330-
+ (void)setTitleAttibutes:(NSDictionary *)attrs forButton:(UIBarButtonItem *)button
330+
+ (void)setTitleAttributes:(NSDictionary *)attrs forButton:(UIBarButtonItem *)button
331331
{
332332
[button setTitleTextAttributes:attrs forState:UIControlStateNormal];
333333
[button setTitleTextAttributes:attrs forState:UIControlStateHighlighted];
@@ -898,7 +898,7 @@ - (void)configureCustomFontForCustomBackButton:(nonnull RNSBackBarButtonItem *)b
898898
} else {
899899
attrs[NSFontAttributeName] = [UIFont boldSystemFontOfSize:[size floatValue]];
900900
}
901-
[RNSScreenStackHeaderConfig setTitleAttibutes:attrs forButton:backBarButtonItem];
901+
[RNSScreenStackHeaderConfig setTitleAttributes:attrs forButton:backBarButtonItem];
902902
}
903903

904904
- (void)configureNativeBackItem:(nonnull UINavigationItem *)prevItem API_UNAVAILABLE(tvos)
@@ -975,7 +975,7 @@ - (void)configureLegacyBackItem:(nullable UINavigationItem *)prevItem
975975
} else {
976976
attrs[NSFontAttributeName] = [UIFont boldSystemFontOfSize:[size floatValue]];
977977
}
978-
[RNSScreenStackHeaderConfig setTitleAttibutes:attrs forButton:backBarButtonItem];
978+
[RNSScreenStackHeaderConfig setTitleAttributes:attrs forButton:backBarButtonItem];
979979
}
980980

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

0 commit comments

Comments
 (0)