Loading app/src/main/java/foundation/e/apps/manager/fused/FusedManagerImpl.kt +4 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,10 @@ class FusedManagerImpl @Inject constructor( } else { Log.d(TAG, "Unable to update download status!") } if (status == Status.INSTALLED) flushOldDownload(fusedDownload.package_name) if (status == Status.INSTALLED) { flushOldDownload(fusedDownload.package_name) databaseRepository.deleteDownload(fusedDownload) } } suspend fun downloadApp(fusedDownload: FusedDownload) { Loading app/src/main/java/foundation/e/apps/utils/modules/PWAManagerModule.kt +2 −0 Original line number Diff line number Diff line Loading @@ -84,5 +84,7 @@ class PWAManagerModule @Inject constructor( // Update status fusedDownload.status = Status.INSTALLED databaseRepository.updateDownload(fusedDownload) databaseRepository.deleteDownload(fusedDownload) } } Loading
app/src/main/java/foundation/e/apps/manager/fused/FusedManagerImpl.kt +4 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,10 @@ class FusedManagerImpl @Inject constructor( } else { Log.d(TAG, "Unable to update download status!") } if (status == Status.INSTALLED) flushOldDownload(fusedDownload.package_name) if (status == Status.INSTALLED) { flushOldDownload(fusedDownload.package_name) databaseRepository.deleteDownload(fusedDownload) } } suspend fun downloadApp(fusedDownload: FusedDownload) { Loading
app/src/main/java/foundation/e/apps/utils/modules/PWAManagerModule.kt +2 −0 Original line number Diff line number Diff line Loading @@ -84,5 +84,7 @@ class PWAManagerModule @Inject constructor( // Update status fusedDownload.status = Status.INSTALLED databaseRepository.updateDownload(fusedDownload) databaseRepository.deleteDownload(fusedDownload) } }