Remove track color setting from Switch
This must have been considered a bug in the React Native Paper codebase, but this was me fixing the track color being wrong when system theme and app theme weren't the same.
This commit is contained in:
parent
1367f74280
commit
94a5fa4ac7
|
@ -29,10 +29,6 @@ function Switch({
|
|||
style={{ marginRight: MARGIN }}
|
||||
value={value}
|
||||
onValueChange={onChange}
|
||||
trackColor={{
|
||||
true: colors.primary + "80",
|
||||
false: colors.surfaceDisabled,
|
||||
}}
|
||||
/>
|
||||
<Text>{title}</Text>
|
||||
</Pressable>
|
||||
|
|
Loading…
Reference in New Issue