summaryrefslogtreecommitdiff
path: root/Source/Android/app/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Android/app/src/main/java')
-rw-r--r--Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/services/GameFileCacheManager.kt10
1 files changed, 2 insertions, 8 deletions
diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/services/GameFileCacheManager.kt b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/services/GameFileCacheManager.kt
index 2ba2c246b3..1dad6107f3 100644
--- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/services/GameFileCacheManager.kt
+++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/services/GameFileCacheManager.kt
@@ -175,12 +175,6 @@ object GameFileCacheManager {
}
}
- if (runRescanAfterLoad) {
- // Without this, there will be a short blip where the loading indicator in the GUI disappears
- // because neither loadInProgress nor rescanInProgress is true
- rescanInProgress.postValue(true)
- }
-
loadInProgress.postValue(false)
if (runRescanAfterLoad) {
@@ -214,9 +208,9 @@ object GameFileCacheManager {
if (changed || additionalMetadataChanged) {
gameFileCache!!.save()
}
- }
- rescanInProgress.postValue(false)
+ rescanInProgress.postValue(false)
+ }
}
private fun updateGameFileArray() {