From 1602d8157f9e61c6ad842bcce28f3aaf6a8f7154 Mon Sep 17 00:00:00 2001 From: Aman Harwara Date: Thu, 6 Oct 2022 16:22:25 +0530 Subject: [PATCH] fix: add android platform check for status bar color sync --- packages/mobile/src/Lib/Interface.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mobile/src/Lib/Interface.ts b/packages/mobile/src/Lib/Interface.ts index f02fea8a6..68814a2f4 100644 --- a/packages/mobile/src/Lib/Interface.ts +++ b/packages/mobile/src/Lib/Interface.ts @@ -460,7 +460,7 @@ export class MobileDevice implements MobileDeviceInterface { } reloadStatusBarStyle(animated = true) { - if (this.statusBarBgColor) { + if (this.statusBarBgColor && Platform.OS === 'android') { StatusBar.setBackgroundColor(this.statusBarBgColor, animated) } StatusBar.setBarStyle(this.isDarkMode ? 'light-content' : 'dark-content', animated)