docs: Sync changelog

Also reformat the code slightly
This commit is contained in:
Ahmad Ansori Palembani 2024-12-21 06:26:40 +07:00
parent f240fe0dd4
commit fe666b614f
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
2 changed files with 4 additions and 5 deletions

View file

@ -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

View file

@ -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)