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:
Brandon Presley 2023-08-22 11:53:12 +12:00
parent 1367f74280
commit 94a5fa4ac7
1 changed files with 0 additions and 4 deletions

View File

@ -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>