mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +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
|
- Fix sorting by latest chapter is not working properly
|
||||||
- Prevent some NPE crashes
|
- Prevent some NPE crashes
|
||||||
- Fix some flickering issues when browsing sources
|
- Fix some flickering issues when browsing sources
|
||||||
|
- Fix download count is not updating
|
||||||
|
|
||||||
### Other
|
### Other
|
||||||
- Update NDK to v27.2.12479018
|
- Update NDK to v27.2.12479018
|
||||||
|
|
|
@ -463,11 +463,9 @@ open class MainActivity : BaseActivity<MainActivityBinding>() {
|
||||||
combine(
|
combine(
|
||||||
downloadManager.isDownloaderRunning,
|
downloadManager.isDownloaderRunning,
|
||||||
downloadManager.queueState,
|
downloadManager.queueState,
|
||||||
) { isDownloading, queueState ->
|
) { isDownloading, queueState -> isDownloading to queueState.size }
|
||||||
isDownloading to queueState.size
|
.onEach { downloadStatusChanged(it.first, it.second) }
|
||||||
}.onEach { (isDownloading, queueSize) ->
|
.launchIn(lifecycleScope)
|
||||||
downloadStatusChanged(isDownloading, queueSize)
|
|
||||||
}.launchIn(lifecycleScope)
|
|
||||||
WindowCompat.setDecorFitsSystemWindows(window, false)
|
WindowCompat.setDecorFitsSystemWindows(window, false)
|
||||||
setSupportActionBar(binding.toolbar)
|
setSupportActionBar(binding.toolbar)
|
||||||
supportActionBar?.setDisplayShowCustomEnabled(true)
|
supportActionBar?.setDisplayShowCustomEnabled(true)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue