Skip to content

Commit 19ac563

Browse files
author
Pavel Aksonov
committed
include reset action
1 parent 65574f1 commit 19ac563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ function createNavigationOptions(params) {
188188
...screenProps,
189189
};
190190
const res = {
191-
animationEnabled: type === ActionConst.REPLACE || type === 'replace' ? false : true,
191+
animationEnabled: !(type === ActionConst.REPLACE || type === 'replace' || type === ActionConst.RESET || type === 'reset'),
192192
...props,
193193
cardStyle: navigationParams.cardStyle || cardStyle,
194194
headerBackImage: navigationParams.backButtonImage || backButtonImage,

0 commit comments

Comments
 (0)