mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-16 18:03:14 +03:00
useNativeDriver in toggleSwitch
This commit is contained in:
parent
991283f9fd
commit
3a346d6b7c
@ -97,6 +97,7 @@ class ToggleSwitchView extends PureComponent {
|
||||
Animated.timing(this.offsetX, {
|
||||
toValue,
|
||||
duration,
|
||||
useNativeDriver: true,
|
||||
}).start();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user