Skip to content

Commit

Permalink
chore(client): update theme-provider.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
brunocroh committed Feb 8, 2025
1 parent 7b0d903 commit 682849e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/client/components/providers/theme-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const ThemeProvider = ({ children }: ThemeProviderProps) => {
const { colorScheme } = useColorScheme()

return (
<ThemeContext.Provider value={{ theme: 'dark' || 'light' }}>
<ThemeContext.Provider value={{ theme: colorScheme || 'dark' }}>
<View style={{ ...themes['dark'], flex: 1 }}>{children}</View>
</ThemeContext.Provider>
)
Expand Down

0 comments on commit 682849e

Please sign in to comment.