fix: disable animation by default on web for stack

This commit is contained in:
Satyajit Sahoo
2020-04-10 17:02:32 +02:00
parent a3f7a5feba
commit dfdba8d741
2 changed files with 17 additions and 4 deletions

View File

@@ -292,9 +292,7 @@ export default class StackView extends React.Component<Props, State> {
return false;
}
return gestureEnabled !== undefined
? gestureEnabled
: Platform.OS !== 'android';
return gestureEnabled !== false;
}
return false;