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
|
@ -15,6 +15,7 @@ The format is simplified version of [Keep a Changelog](https://keepachangelog.co
|
|||
- Fix sorting by latest chapter is not working properly
|
||||
- Prevent some NPE crashes
|
||||
- Fix some flickering issues when browsing sources
|
||||
- Fix download count is not updating
|
||||
|
||||
### Other
|
||||
- Update NDK to v27.2.12479018
|
||||
|
|
|
@ -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