mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
@ -1,6 +1,10 @@
|
||||
import { LayoutAnimation } from 'react-native'
|
||||
import { AccessibilityInfo, LayoutAnimation } from 'react-native'
|
||||
|
||||
const layoutAnimation = async () => {
|
||||
const disable = await AccessibilityInfo.isReduceMotionEnabled()
|
||||
if (disable) return
|
||||
|
||||
const layoutAnimation = () =>
|
||||
LayoutAnimation.configureNext(LayoutAnimation.Presets.easeInEaseOut)
|
||||
}
|
||||
|
||||
export default layoutAnimation
|
||||
|
Reference in New Issue
Block a user