From 19ac5631c40eec3bc3f97adecb7b1b467abf385e Mon Sep 17 00:00:00 2001 From: Pavel Aksonov Date: Wed, 24 Mar 2021 10:22:12 +0300 Subject: [PATCH] include reset action --- src/Store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Store.js b/src/Store.js index b5904b4c..82eed18b 100644 --- a/src/Store.js +++ b/src/Store.js @@ -188,7 +188,7 @@ function createNavigationOptions(params) { ...screenProps, }; const res = { - animationEnabled: type === ActionConst.REPLACE || type === 'replace' ? false : true, + animationEnabled: !(type === ActionConst.REPLACE || type === 'replace' || type === ActionConst.RESET || type === 'reset'), ...props, cardStyle: navigationParams.cardStyle || cardStyle, headerBackImage: navigationParams.backButtonImage || backButtonImage,