mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Fix download bar not showing
This commit is contained in:
parent
796ae90b8c
commit
34131bdf62
1 changed files with 1 additions and 1 deletions
|
@ -112,6 +112,7 @@ class DownloadFragment : Fragment() {
|
||||||
getBytesAsText(it)
|
getBytesAsText(it)
|
||||||
)
|
)
|
||||||
download_used?.setLayoutWidth(it)
|
download_used?.setLayoutWidth(it)
|
||||||
|
download_storage_appbar?.isVisible = it > 0
|
||||||
}
|
}
|
||||||
observe(downloadsViewModel.downloadBytes) {
|
observe(downloadsViewModel.downloadBytes) {
|
||||||
download_app_txt?.text =
|
download_app_txt?.text =
|
||||||
|
@ -120,7 +121,6 @@ class DownloadFragment : Fragment() {
|
||||||
getBytesAsText(it)
|
getBytesAsText(it)
|
||||||
)
|
)
|
||||||
download_app?.setLayoutWidth(it)
|
download_app?.setLayoutWidth(it)
|
||||||
download_storage_appbar?.isVisible = it > 0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
val adapter: RecyclerView.Adapter<RecyclerView.ViewHolder> =
|
val adapter: RecyclerView.Adapter<RecyclerView.ViewHolder> =
|
||||||
|
|
Loading…
Reference in a new issue