mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
No tv types on local plugins
This commit is contained in:
parent
733e7f67d3
commit
e45246f834
2 changed files with 43 additions and 42 deletions
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue