From 323c1e06dcd19743bf9663583821f89798e67be6 Mon Sep 17 00:00:00 2001 From: Abdourahamane Boinaidi Date: Thu, 19 Dec 2024 07:39:19 +0100 Subject: [PATCH] fix: Upload progress after refactor --- .../ui/screen/newtransfer/ImportationFilesManager.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/ImportationFilesManager.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/ImportationFilesManager.kt index 2a4d35841..3fd34f040 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/ImportationFilesManager.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/ImportationFilesManager.kt @@ -28,6 +28,7 @@ import com.infomaniak.multiplatform_swisstransfer.common.interfaces.ui.FileUi import com.infomaniak.sentry.SentryLog import com.infomaniak.swisstransfer.ui.utils.FileNameUtils import dagger.hilt.android.qualifiers.ApplicationContext +import dagger.hilt.android.scopes.ViewModelScoped import io.sentry.Sentry import io.sentry.SentryLevel import kotlinx.coroutines.flow.MutableSharedFlow @@ -37,6 +38,7 @@ import java.io.File import java.io.InputStream import javax.inject.Inject +@ViewModelScoped class ImportationFilesManager @Inject constructor( @ApplicationContext private val appContext: Context, private val importLocalStorage: ImportLocalStorage,