@momo-kits/foundation 0.121.0-test.6 → 0.121.0-test.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.
|
@@ -159,10 +159,15 @@ const NavigationContainer: React.FC<NavigationContainerProps> = ({
|
|
|
159
159
|
onReady={() => {
|
|
160
160
|
isReady.current = true;
|
|
161
161
|
routes.current = navigationRef.current?.getRootState?.()?.routes;
|
|
162
|
+
const xxx = screen?.name ?? screen?.type?.name;
|
|
163
|
+
Alert.alert('onReady', JSON.stringify(xxx));
|
|
164
|
+
|
|
162
165
|
maxApi?.getDataObserver('CURRENT_SCREEN', (screenName: any) => {
|
|
166
|
+
Alert.alert(
|
|
167
|
+
'onReady CURRENT_SCREEN',
|
|
168
|
+
JSON.stringify(screenName)
|
|
169
|
+
);
|
|
163
170
|
onScreenNavigated(screenName, screen?.name, 'push', 'Screen');
|
|
164
|
-
const xxx = screen?.name ?? screen?.type?.name;
|
|
165
|
-
Alert.alert('1', JSON.stringify(xxx));
|
|
166
171
|
maxApi?.setObserver('CURRENT_SCREEN', screen?.name);
|
|
167
172
|
});
|
|
168
173
|
}}
|