[UI > PluginSettings] Fix non-uniform class names

This commit is contained in:
Beef 2023-01-07 23:17:43 +00:00
parent de3d422754
commit 0aea93ab52

View file

@ -13,7 +13,7 @@ const styles = stylesheet.createThemedStyleSheet({
backgroundColor: stylesheet.ThemeColorMap.BACKGROUND_MOBILE_SECONDARY, backgroundColor: stylesheet.ThemeColorMap.BACKGROUND_MOBILE_SECONDARY,
flex: 1, flex: 1,
}, },
cardStyle: { card: {
backgroundColor: stylesheet.ThemeColorMap.BACKGROUND_MOBILE_PRIMARY, backgroundColor: stylesheet.ThemeColorMap.BACKGROUND_MOBILE_PRIMARY,
color: stylesheet.ThemeColorMap.TEXT_NORMAL, color: stylesheet.ThemeColorMap.TEXT_NORMAL,
}, },
@ -48,7 +48,7 @@ export default function PluginSettings({ plugin, children }: PluginSettingsProps
screenOptions={{ screenOptions={{
cardOverlayEnabled: false, cardOverlayEnabled: false,
cardShadowEnabled: false, cardShadowEnabled: false,
cardStyle: styles.cardStyle, cardStyle: styles.card,
headerStyle: styles.header, headerStyle: styles.header,
headerTitleContainerStyle: styles.headerTitleContainer, headerTitleContainerStyle: styles.headerTitleContainer,
}} }}