2019-12-11 23:01:12 +00:00
|
|
|
import { LayoutAnimation } from 'react-native';
|
2019-10-07 20:56:30 +00:00
|
|
|
|
|
|
|
import debounce from './debounce';
|
|
|
|
import { isIOS } from './deviceInfo';
|
|
|
|
|
|
|
|
export const animateNextTransition = debounce(() => {
|
|
|
|
if (isIOS) {
|
2019-12-11 23:01:12 +00:00
|
|
|
LayoutAnimation.easeInEaseOut();
|
2019-10-07 20:56:30 +00:00
|
|
|
}
|
|
|
|
}, 200, true);
|