99 Button ,
1010 Dialog ,
1111 Drawer ,
12- MD3Colors ,
12+ Colors ,
1313 Switch ,
1414 Text ,
1515 TouchableRipple ,
@@ -136,8 +136,8 @@ function DrawerItems() {
136136
137137 const coloredLabelTheme = {
138138 colors : {
139- secondaryContainer : MD3Colors . tertiary80 ,
140- onSecondaryContainer : MD3Colors . tertiary20 ,
139+ secondaryContainer : Colors . tertiary80 ,
140+ onSecondaryContainer : Colors . tertiary20 ,
141141 } ,
142142 } ;
143143
@@ -184,7 +184,7 @@ function DrawerItems() {
184184 { deviceColorsSupported ? (
185185 < TouchableRipple onPress = { toggleShouldUseDeviceColors } >
186186 < View style = { styles . preference } >
187- < Text variant = "labelLarge" > Use device colors * </ Text >
187+ < Text variant = "labelLarge" > Use device colors</ Text >
188188 < View pointerEvents = "none" >
189189 < Switch value = { shouldUseDeviceColors } />
190190 </ View >
@@ -213,7 +213,7 @@ function DrawerItems() {
213213
214214 < TouchableRipple onPress = { toggleCollapsed } >
215215 < View style = { styles . preference } >
216- < Text variant = "labelLarge" > Collapsed drawer * </ Text >
216+ < Text variant = "labelLarge" > Collapsed drawer</ Text >
217217 < View pointerEvents = "none" >
218218 < Switch value = { collapsed } />
219219 </ View >
@@ -222,7 +222,7 @@ function DrawerItems() {
222222
223223 < TouchableRipple onPress = { toggleCustomFont } >
224224 < View style = { styles . preference } >
225- < Text variant = "labelLarge" > Custom font * </ Text >
225+ < Text variant = "labelLarge" > Custom font</ Text >
226226 < View pointerEvents = "none" >
227227 < Switch value = { customFontLoaded } />
228228 </ View >
@@ -232,19 +232,14 @@ function DrawerItems() {
232232 < TouchableRipple onPress = { toggleRippleEffect } >
233233 < View style = { styles . preference } >
234234 < Text variant = "labelLarge" >
235- { isIOS ? 'Highlight' : 'Ripple' } effect *
235+ { isIOS ? 'Highlight' : 'Ripple' } effect
236236 </ Text >
237237 < View pointerEvents = "none" >
238238 < Switch value = { rippleEffectEnabled } />
239239 </ View >
240240 </ View >
241241 </ TouchableRipple >
242242 </ Drawer . Section >
243- { ! collapsed && (
244- < Text variant = "bodySmall" style = { styles . annotation } >
245- * - available only for MD3
246- </ Text >
247- ) }
248243 < Text variant = "bodySmall" style = { styles . annotation } >
249244 React Native Paper Version{ ' ' }
250245 { require ( 'react-native-paper/package.json' ) . version }
0 commit comments