Skip to content

Commit 71eabb2

Browse files
fix(ios): navigationbar flicker issue (#11703)
1 parent e025e3b commit 71eabb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiUIWindowProxy.m

+1
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ - (void)setBarColor:(id)color
364364
[navBar setBarTintColor:barColor];
365365
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000
366366
if ([selfshouldUseNavBarApperance]) {
367+
barColor = barColor ?: self.view.backgroundColor;
367368
navBar.standardAppearance.backgroundColor = barColor;
368369
navBar.scrollEdgeAppearance.backgroundColor = barColor;
369370
}

0 commit comments

Comments
 (0)
close