Skip to content

Commit

Permalink
include reset action
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Aksonov committed Mar 24, 2021
1 parent 65574f1 commit 19ac563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Store.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

1 comment on commit 19ac563

@aksonov
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is addition for #3741

Please sign in to comment.