Skip to content

Commit 29dbe55

Browse files
authored
Using showUi (#22266)
1 parent 6ccf5e4 commit 29dbe55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPress/src/main/java/org/wordpress/android/ui/prefs/taxonomies/TaxonomiesNavMenuViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class TaxonomiesNavMenuViewModel @Inject constructor(
4242
val taxonomies = mutableListOf<TaxonomyTypeDetailsWithEditContext>()
4343
list.taxonomyTypes.forEach { type ->
4444
appLogWrapper.d(AppLog.T.API, "Taxonomies - Taxonomy ${type.value.name}")
45-
if (type.value.visibility.showInNavMenus) {
45+
if (type.value.visibility.showUi) {
4646
taxonomies.add(type.value)
4747
}
4848
}

0 commit comments

Comments
 (0)