Onboarding

This commit is contained in:
2026-04-22 21:37:52 +02:00
parent c16fee77af
commit 3e9f863121
21 changed files with 2524 additions and 184 deletions

View File

@@ -267,15 +267,14 @@ export default function SearchScreen() {
}
};
const openCategoryLexicon = (categoryId: string, categoryName: string) => {
router.push({
pathname: '/lexicon',
params: {
categoryId,
categoryLabel: encodeURIComponent(categoryName),
},
});
};
const openCategoryLexicon = (categoryId: string) => {
router.push({
pathname: '/lexicon',
params: {
categoryId,
},
});
};
const clearAll = () => {
setSearchQuery('');
@@ -384,9 +383,9 @@ export default function SearchScreen() {
borderColor: colors.chipBorder,
},
]}
onPress={() => openCategoryLexicon(item.id, item.name)}
activeOpacity={0.8}
>
onPress={() => openCategoryLexicon(item.id)}
activeOpacity={0.8}
>
<Text style={[styles.catChipText, { color: getCategoryTextColor(item.bg, item.accent) }]}>
{item.name}
</Text>