Skip to content

Commit

Permalink
Fixes issue with border shown on iOS TopBar (#6548)
Browse files Browse the repository at this point in the history
Fixes issue with border shown on iOS TopBar in combination with `largeTitle {visible: true}`, even though `{noBorder:true}` is passed in the config
  • Loading branch information
mateioprea authored Sep 9, 2020
1 parent 0c9c996 commit 29365dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ios/TopBarAppearancePresenter.m
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ - (void)updateBackgroundAppearance {
- (void)showBorder:(BOOL)showBorder {
UIColor* shadowColor = showBorder ? [[UINavigationBarAppearance new] shadowColor] : nil;
self.getAppearance.shadowColor = shadowColor;
self.getScrollEdgeAppearance.shadowColor = shadowColor;
}

- (void)setBackIndicatorImage:(UIImage *)image withColor:(UIColor *)color {
Expand Down

0 comments on commit 29365dc

Please sign in to comment.