@momo-kits/foundation 0.165.1-beta.4 → 0.165.1-sp.4

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.
@@ -253,10 +253,11 @@ const BottomTab: React.FC<BottomTabProps> = ({
253
253
  });
254
254
 
255
255
  const isFirstTab = activeIndex.current === 0;
256
+ const gestureEnabled = Platform.OS === 'ios' && isFirstTab;
256
257
  navigation?.setOptions({
257
- gestureEnabled: Platform.OS === 'ios' && isFirstTab,
258
+ gestureEnabled: gestureEnabled,
258
259
  });
259
- NativeModules?.MiniAppModule?.setShouldUseFloatingArrowBack?.(!isFirstTab);
260
+ NativeModules?.MiniAppModule?.setShouldUseFloatingArrowBack?.(!gestureEnabled);
260
261
  };
261
262
 
262
263
  const handler: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.165.1-beta.4",
3
+ "version": "0.165.1-sp.4",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},