Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/react-native-bottom-tabs/src/expo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const ConfigPlugins = require('@expo/config-plugins');
const { createRunOncePlugin, withAndroidStyles } =
ConfigPlugins as typeof import('@expo/config-plugins');

const MATERIAL3_THEME_DYANMIC =
const MATERIAL3_THEME_DYNAMIC =
'Theme.Material3.DynamicColors.DayNight.NoActionBar';
const MATERIAL3_THEME = 'Theme.Material3.DayNight.NoActionBar';
const MATERIAL2_THEME = 'Theme.MaterialComponents.DayNight.NoActionBar';
Expand All @@ -35,7 +35,7 @@ const withMaterial3Theme: ConfigPlugin<ConfigProps> = (config, options) => {
stylesConfig.modResults.resources.style?.map((style) => {
if (style.$.name === 'AppTheme') {
if (theme === 'material3-dynamic') {
style.$.parent = MATERIAL3_THEME_DYANMIC;
style.$.parent = MATERIAL3_THEME_DYNAMIC;
} else if (theme === 'material2') {
style.$.parent = MATERIAL2_THEME;
} else if (theme === 'material3-expressive') {
Expand Down