Skip to content

Commit e9609eb

Browse files
committed
fix style issues
1 parent a46bc52 commit e9609eb

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

React/Views/RCTTabBar.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
@interface RCTTabBar : UIView
1515

16-
@property (nonatomic, copy) UIColor *tintColor;
17-
@property (nonatomic, copy) UIColor *barTintColor;
16+
@property (nonatomic, strong) UIColor *tintColor;
17+
@property (nonatomic, strong) UIColor *barTintColor;
1818

1919
- (instancetype)initWithEventDispatcher:(RCTEventDispatcher *)eventDispatcher NS_DESIGNATED_INITIALIZER;
2020

React/Views/RCTTabBar.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,13 @@ - (void)reactBridgeDidFinishTransaction
132132
}];
133133
}
134134

135-
- (void)setBarTintColor:(UIColor *)barTintColor {
135+
- (void)setBarTintColor:(UIColor *)barTintColor
136+
{
136137
_tabController.tabBar.barTintColor = barTintColor;
137138
}
138139

139-
- (void)setTintColor:(UIColor *)tintColor {
140+
- (void)setTintColor:(UIColor *)tintColor
141+
{
140142
_tabController.tabBar.tintColor = tintColor;
141143
}
142144

0 commit comments

Comments
 (0)