@umituz/react-native-ai-generation-content 1.41.7 → 1.41.8
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-ai-generation-content",
|
|
3
|
-
"version": "1.41.
|
|
3
|
+
"version": "1.41.8",
|
|
4
4
|
"description": "Provider-agnostic AI generation orchestration for React Native with result preview components",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -138,10 +138,13 @@ export const CategoryNavigationContainer: React.FC<
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
if (currentStep === "sub_category" && selectedMainCategoryId) {
|
|
141
|
+
const selectedMainCategory = mainCategories.find(c => c.id === selectedMainCategoryId);
|
|
142
|
+
|
|
141
143
|
if (typeof __DEV__ !== "undefined" && __DEV__) {
|
|
142
144
|
console.log("[CategoryNavigationContainer] Rendering SubCategoryScreen", {
|
|
143
145
|
selectedMainCategoryId,
|
|
144
146
|
subCategoriesCount: subCategories.length,
|
|
147
|
+
mainCategoryTitle: selectedMainCategory?.titleKey,
|
|
145
148
|
});
|
|
146
149
|
}
|
|
147
150
|
return (
|
|
@@ -151,6 +154,8 @@ export const CategoryNavigationContainer: React.FC<
|
|
|
151
154
|
onSelectSubCategory={handleSelectSubCategory}
|
|
152
155
|
onBack={handleBackFromSubCategory}
|
|
153
156
|
t={t}
|
|
157
|
+
headerTitleKey={selectedMainCategory?.titleKey}
|
|
158
|
+
headerDescriptionKey="scenario.sub_category.description"
|
|
154
159
|
/>
|
|
155
160
|
);
|
|
156
161
|
}
|