Update to new Expo SDK
- removed native-base dependency
This commit is contained in:
@@ -5,7 +5,6 @@ import {
|
||||
StatusBar,
|
||||
TextInput,
|
||||
Text,
|
||||
Slider,
|
||||
Switch,
|
||||
} from "react-native";
|
||||
import themeColors from '../components/themeColors';
|
||||
@@ -51,17 +50,20 @@ function SettingsSwitch(props) {
|
||||
}
|
||||
|
||||
function SettingsSlider(props) {
|
||||
/*
|
||||
<Slider
|
||||
value={props.value}
|
||||
disabled={props.disabled}
|
||||
thumbTintColor={themeColors["WET ASPHALT"]}
|
||||
minimumTrackTintColor={themeColors["CLOUDS"]}
|
||||
maximumTrackTintColor={themeColors["CLOUDS"]}
|
||||
style={settingsGroupStyles.slider}
|
||||
/>
|
||||
*/
|
||||
|
||||
return (
|
||||
<React.Fragment>
|
||||
<Text style={settingsGroupStyles.label}>{props.label}</Text>
|
||||
<Slider
|
||||
value={props.value}
|
||||
disabled={props.disabled}
|
||||
thumbTintColor={themeColors["WET ASPHALT"]}
|
||||
minimumTrackTintColor={themeColors["CLOUDS"]}
|
||||
maximumTrackTintColor={themeColors["CLOUDS"]}
|
||||
style={settingsGroupStyles.slider}
|
||||
/>
|
||||
</React.Fragment>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user