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 a299e5f commit 45892b1Copy full SHA for 45892b1
example/src/App.tsx
@@ -24,6 +24,7 @@ import {
24
MD3DarkTheme,
25
MD3LightTheme,
26
MD2LightTheme,
27
+ MD2DarkTheme,
28
} from 'react-native-paper'
29
import {
30
DatePickerModal,
@@ -572,7 +573,7 @@ export default function AppWithProviders() {
572
573
const colorScheme = useColorScheme()
574
const [materialYouEnabled, setMaterialYouEnabled] = useState(true)
575
const m3Theme = colorScheme === 'dark' ? MD3DarkTheme : MD3LightTheme
- const m2Theme = colorScheme === 'dark' ? MD2LightTheme : MD2LightTheme
576
+ const m2Theme = colorScheme === 'dark' ? MD2DarkTheme : MD2LightTheme
577
578
return (
579
<SafeAreaProvider>
0 commit comments