@momo-kits/foundation 0.121.0-test.5 → 0.121.0-test.6

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.
@@ -161,7 +161,8 @@ const NavigationContainer: React.FC<NavigationContainerProps> = ({
161
161
  routes.current = navigationRef.current?.getRootState?.()?.routes;
162
162
  maxApi?.getDataObserver('CURRENT_SCREEN', (screenName: any) => {
163
163
  onScreenNavigated(screenName, screen?.name, 'push', 'Screen');
164
- Alert.alert('1', JSON.stringify(screenName));
164
+ const xxx = screen?.name ?? screen?.type?.name;
165
+ Alert.alert('1', JSON.stringify(xxx));
165
166
  maxApi?.setObserver('CURRENT_SCREEN', screen?.name);
166
167
  });
167
168
  }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.121.0-test.5",
3
+ "version": "0.121.0-test.6",
4
4
  "minimumDeployTarget": 32,
5
5
  "deploymentTarget": 120,
6
6
  "description": "React Native Component Kits",