@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:
|
|
258
|
+
gestureEnabled: gestureEnabled,
|
|
258
259
|
});
|
|
259
|
-
NativeModules?.MiniAppModule?.setShouldUseFloatingArrowBack?.(!
|
|
260
|
+
NativeModules?.MiniAppModule?.setShouldUseFloatingArrowBack?.(!gestureEnabled);
|
|
260
261
|
};
|
|
261
262
|
|
|
262
263
|
const handler: {
|