mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 02:34:39 +00:00
docs: Sync changelog
Also reformat the code slightly
This commit is contained in:
parent
f240fe0dd4
commit
fe666b614f
2 changed files with 4 additions and 5 deletions
|
@ -463,11 +463,9 @@ open class MainActivity : BaseActivity<MainActivityBinding>() {
|
|||
combine(
|
||||
downloadManager.isDownloaderRunning,
|
||||
downloadManager.queueState,
|
||||
) { isDownloading, queueState ->
|
||||
isDownloading to queueState.size
|
||||
}.onEach { (isDownloading, queueSize) ->
|
||||
downloadStatusChanged(isDownloading, queueSize)
|
||||
}.launchIn(lifecycleScope)
|
||||
) { isDownloading, queueState -> isDownloading to queueState.size }
|
||||
.onEach { downloadStatusChanged(it.first, it.second) }
|
||||
.launchIn(lifecycleScope)
|
||||
WindowCompat.setDecorFitsSystemWindows(window, false)
|
||||
setSupportActionBar(binding.toolbar)
|
||||
supportActionBar?.setDisplayShowCustomEnabled(true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue