No tv types on local plugins

This commit is contained in:
Blatzar 2022-08-13 23:55:54 +02:00
parent 733e7f67d3
commit e45246f834
2 changed files with 43 additions and 42 deletions

View file

@ -96,12 +96,13 @@ class PluginsFragment : Fragment() {
}
if (isLocal) {
// No download button
// No download button and no categories on local
settings_toolbar?.menu?.findItem(R.id.download_all)?.isVisible = false
pluginViewModel.updatePluginListLocal()
tv_types_scroll_view?.isVisible = false
} else {
pluginViewModel.updatePluginList(url)
}
tv_types_scroll_view?.isVisible = true
// 💀💀💀💀💀💀💀 Recyclerview when
val pairList = getPairList(
@ -149,8 +150,7 @@ class PluginsFragment : Fragment() {
}
}
}
}
}
companion object {

View file

@ -26,6 +26,7 @@
tools:title="Overlord" />
<HorizontalScrollView
android:id="@+id/tv_types_scroll_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/primaryGrayBackground"