mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-24 08:55:14 +03:00
fixed switch toggle
This commit is contained in:
parent
5c0ae5d6e1
commit
45bbeae04f
@ -23,7 +23,7 @@ class ToggleSwitchView extends Component {
|
||||
padding: 12,
|
||||
circleWidth: 28,
|
||||
circleHeight: 28,
|
||||
translateX: 32,
|
||||
translateX: 36,
|
||||
isOn: false || props.isOn,
|
||||
};
|
||||
}
|
||||
@ -42,6 +42,7 @@ class ToggleSwitchView extends Component {
|
||||
backgroundColor: 'white',
|
||||
transform: [{ translateX: this.offsetX }],
|
||||
width: circleWidth,
|
||||
marginLeft: 4,
|
||||
height: circleHeight,
|
||||
borderRadius: circleWidth / 2,
|
||||
shadowOpacity: 0.2,
|
||||
|
Loading…
Reference in New Issue
Block a user