Skip to content

Commit

Permalink
refactor: change condition to set default theme (#2055)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbinda authored Jul 13, 2020
1 parent b9c03a3 commit e0d76f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/Provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ export default class Provider extends React.Component<Props, State> {
if (providedTheme) {
return providedTheme;
} else {
const theme = (colorScheme === 'light'
? DefaultTheme
: DarkTheme) as ReactNativePaper.Theme;
const theme = (colorScheme === 'dark'
? DarkTheme
: DefaultTheme) as ReactNativePaper.Theme;

return {
...theme,
Expand Down

0 comments on commit e0d76f0

Please sign in to comment.