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

View file

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