This commit is contained in:
Luna712 2024-07-18 10:54:04 -06:00 committed by GitHub
parent b5acdc406d
commit 42c14afccc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -78,7 +78,6 @@ class DownloadChildFragment : Fragment() {
activity?.onBackPressedDispatcher?.onBackPressed() // TODO FIX activity?.onBackPressedDispatcher?.onBackPressed() // TODO FIX
return return
} }
fixPaddingStatusbar(binding?.downloadChildRoot)
binding?.downloadChildToolbar?.apply { binding?.downloadChildToolbar?.apply {
title = name title = name
@ -155,6 +154,7 @@ class DownloadChildFragment : Fragment() {
} }
context?.let { downloadsViewModel.updateChildList(it, folder) } context?.let { downloadsViewModel.updateChildList(it, folder) }
fixPaddingStatusbar(binding?.downloadChildRoot)
} }
private fun handleSelectedChange(selected: MutableSet<Int>) { private fun handleSelectedChange(selected: MutableSet<Int>) {

View file

@ -217,6 +217,7 @@ class DownloadFragment : Fragment() {
handleScroll(scrollY - oldScrollY) handleScroll(scrollY - oldScrollY)
} }
} }
context?.let { downloadsViewModel.updateHeaderList(it) } context?.let { downloadsViewModel.updateHeaderList(it) }
fixPaddingStatusbar(binding?.downloadRoot) fixPaddingStatusbar(binding?.downloadRoot)
} }