Skip to content

Commit ae94e50

Browse files
committed
fix: fix status bar theme based on the selected colorScheme
1 parent dbcdd72 commit ae94e50

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/components/ui/focus-aware-status-bar.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,10 @@ export const FocusAwareStatusBar = ({ hidden = false }: Props) => {
1111

1212
if (Platform.OS === 'web') return null;
1313

14-
return isFocused ? <SystemBars style={colorScheme} hidden={hidden} /> : null;
14+
return isFocused ? (
15+
<SystemBars
16+
style={colorScheme === 'light' ? 'dark' : 'light'}
17+
hidden={hidden}
18+
/>
19+
) : null;
1520
};

0 commit comments

Comments
 (0)