@momo-kits/foundation 0.163.1-beta.3 → 0.163.1-sp.1
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/StackScreen.tsx +1 -0
- package/Layout/Screen.tsx +3 -1
- package/package.json +1 -1
package/Layout/Screen.tsx
CHANGED
|
@@ -242,7 +242,9 @@ const Screen = forwardRef(
|
|
|
242
242
|
}, [customAnimatedValue, internalShared]);
|
|
243
243
|
|
|
244
244
|
const currentTint = useRef<string | undefined>(undefined);
|
|
245
|
-
const isTab =
|
|
245
|
+
const isTab =
|
|
246
|
+
navigation?.instance?.getState?.()?.type === 'tab' ||
|
|
247
|
+
!!screen?.bottomTab;
|
|
246
248
|
|
|
247
249
|
let handleScroll;
|
|
248
250
|
let Component: any = View;
|