fix: tweak the easing for android

Co-Authored-By: Michał Osadnik <micosa97@gmail.com>
This commit is contained in:
Satyajit Sahoo
2019-06-14 12:16:21 +02:00
committed by satyajit.happy
parent c2eb482367
commit 78c4f25c5e

View File

@@ -39,6 +39,6 @@ export const WipeFromBottomAndroidSpec: TransitionSpec = {
duration: 425,
// This is super rough approximation of the path used for the curve by android
// See http://androidxref.com/9.0.0_r3/xref/frameworks/base/core/res/res/interpolator/fast_out_extra_slow_in.xml
easing: Easing.bezier(0.35, 0.45, 0, 1),
easing: t => Easing.bezier(0.90, 0.06, 0.57, 0)((Easing.bezier(0.06, 0.94, 0.22, 1.02)(t))),
},
};