Skip to content

Commit

Permalink
2916: Also read 2nd level content
Browse files Browse the repository at this point in the history
  • Loading branch information
steffenkleinle committed Jan 30, 2025
1 parent 77937da commit e81db42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/src/components/Categories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const Categories = ({
}: CategoriesProps): ReactElement => {
const children = categories.getChildren(category)
const cityCode = cityModel.code
useTtsPlayer(categories.isLeaf(category) ? category : undefined)
useTtsPlayer(category.content.length > 0 ? category : undefined)

const navigateToCategory = ({ path }: { path: string }) =>
navigateTo({
Expand Down

0 comments on commit e81db42

Please sign in to comment.