2019-10-30 15:43:57 +00:00
|
|
|
import { LayoutAnimation } from 'react-native';
|
2019-09-19 13:32:24 +00:00
|
|
|
|
|
|
|
import debounce from './debounce';
|
|
|
|
import { isIOS } from './deviceInfo';
|
|
|
|
|
|
|
|
export const animateNextTransition = debounce(() => {
|
|
|
|
if (isIOS) {
|
2019-10-30 15:43:57 +00:00
|
|
|
LayoutAnimation.easeInEaseOut();
|
2019-09-19 13:32:24 +00:00
|
|
|
}
|
|
|
|
}, 200, true);
|