We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b758392 commit 451198bCopy full SHA for 451198b
src/specs/UnistylesRuntime/index.ts
@@ -44,11 +44,12 @@ const HybridUnistylesRuntime = NitroModules
44
45
HybridUnistylesRuntime.statusBar = HybridUnistylesRuntime.createHybridStatusBar()
46
HybridUnistylesRuntime.navigationBar = HybridUnistylesRuntime.createHybridNavigationBar()
47
+HybridUnistylesRuntime._setRootViewBackgroundColor = HybridUnistylesRuntime.setRootViewBackgroundColor
48
49
HybridUnistylesRuntime.setRootViewBackgroundColor = (color?: string) => {
50
const parsedColor = processColor(color) ?? 0
51
- HybridUnistylesRuntime._setRootViewBackgroundColor(parsedColor as number)
52
+ HybridUnistylesRuntime._setRootViewBackgroundColor(parsedColor)
53
}
54
55
if (isIOS) {
0 commit comments