Skip to content

Commit 9b8b1e7

Browse files
yjoseasdolo
authored andcommitted
fix: fix status bar theme based on the selected colorScheme
1 parent ae188a5 commit 9b8b1e7

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
@@ -13,5 +13,10 @@ export const FocusAwareStatusBar = ({ hidden = false }: Props) => {
1313
return null;
1414
}
1515

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

0 commit comments

Comments
 (0)