mirror of
https://github.com/urosran/cally.git
synced 2025-07-15 17:47:08 +00:00
- Set the points step to 5 and styled the points slider
This commit is contained in:
@ -13,7 +13,7 @@ const PointsSlider = (props: {
|
||||
value={props.points}
|
||||
onValueChange={(value) => props.setPoints(value)}
|
||||
minimumValue={0}
|
||||
step={10}
|
||||
step={5}
|
||||
thumbTintColor="white"
|
||||
minimumTrackTintColor="#91d5ff"
|
||||
thumbStyle={{borderWidth: 3, borderColor: '#91d5ff'}}
|
||||
@ -21,7 +21,7 @@ const PointsSlider = (props: {
|
||||
/>
|
||||
<View row spread>
|
||||
<Text style={{fontSize: 13, color: '#858585'}}>0</Text>
|
||||
<Text style={{fontSize: 13, color: '#858585'}}>50</Text>
|
||||
<Text style={{fontSize: 13, color: '#858585', marginLeft: 15}}>50</Text>
|
||||
<Text style={{fontSize: 13, color: '#858585'}}>100</Text>
|
||||
</View>
|
||||
</View>
|
||||
|
Reference in New Issue
Block a user