@momo-kits/foundation 0.163.1-beta.5 → 0.163.1-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Application/utils.tsx +1 -4
- package/package.json +1 -1
package/Application/utils.tsx
CHANGED
|
@@ -97,10 +97,7 @@ const getModalOptions = (): StackNavigationOptions => {
|
|
|
97
97
|
* so swipe back must not bypass it
|
|
98
98
|
*/
|
|
99
99
|
const hasCustomBackHandling = (params: NavigationOptions) =>
|
|
100
|
-
params.preventBack !== undefined ||
|
|
101
|
-
params.hiddenBack === true ||
|
|
102
|
-
typeof params.onBackHandler === 'function' ||
|
|
103
|
-
typeof params.onPressLeftHeader === 'function';
|
|
100
|
+
params.preventBack !== undefined || params.hiddenBack === true;
|
|
104
101
|
|
|
105
102
|
/**
|
|
106
103
|
* build react-navigation options
|