Fix checking downloads banner showing up incorrectly

This commit is contained in:
arkon
2023-01-14 20:04:29 -05:00
parent 58ebf14691
commit 5b5eb92184
2 changed files with 11 additions and 8 deletions

View File

@@ -162,7 +162,7 @@ class MainActivity : BaseActivity() {
setComposeContent {
val incognito by preferences.incognitoMode().collectAsState()
val downloadOnly by preferences.downloadedOnly().collectAsState()
val indexing by downloadCache.isRenewing.collectAsState()
val indexing by downloadCache.isInitializing.collectAsState()
// Set statusbar color considering the top app state banner
val systemUiController = rememberSystemUiController()