diff --git a/src/components/SettingsItem.tsx b/src/components/SettingsItem.tsx index e3863d85326..2190195e593 100644 --- a/src/components/SettingsItem.tsx +++ b/src/components/SettingsItem.tsx @@ -1,6 +1,7 @@ import * as React from 'react' -import { StyleSheet, Switch, Text, View } from 'react-native' +import { StyleSheet, Text, View } from 'react-native' import ListItem from 'src/components/ListItem' +import Switch from 'src/components/Switch' import TextInput from 'src/components/TextInput' import ForwardChevron from 'src/icons/ForwardChevron' import OpenLinkIcon from 'src/icons/OpenLinkIcon' diff --git a/src/components/__snapshots__/SettingsItem.test.tsx.snap b/src/components/__snapshots__/SettingsItem.test.tsx.snap index 335509eb6a3..ad52b473c85 100644 --- a/src/components/__snapshots__/SettingsItem.test.tsx.snap +++ b/src/components/__snapshots__/SettingsItem.test.tsx.snap @@ -165,6 +165,10 @@ exports[`SettingsItemSwitch renders correctly 1`] = ` onChange={[Function]} onResponderTerminationRequest={[Function]} onStartShouldSetResponder={[Function]} + thumbTintColor="#E6E6E6" + trackColorForFalse="#757575" + trackColorForTrue="#1AB775" + trackTintColor="#1AB775" />