From 8be9ff8abac9d3e03a6fb155d4cff8cc1970dcb9 Mon Sep 17 00:00:00 2001 From: Vincent TE Date: Wed, 4 Dec 2024 09:57:40 +0100 Subject: [PATCH] chore: Fix rebase --- .../java/com/infomaniak/swisstransfer/ui/MainApplication.kt | 1 + .../swisstransfer/ui/screen/main/received/ReceivedScreen.kt | 2 +- .../ui/screen/main/transfers/TransfersScreenWrapper.kt | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/MainApplication.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/MainApplication.kt index f11a6fe55..12499faed 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/MainApplication.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/MainApplication.kt @@ -21,6 +21,7 @@ import android.app.Application import androidx.hilt.work.HiltWorkerFactory import androidx.work.Configuration import com.infomaniak.multiplatform_swisstransfer.managers.AccountManager +import com.infomaniak.multiplatform_swisstransfer.managers.TransferManager import com.infomaniak.swisstransfer.BuildConfig import com.infomaniak.swisstransfer.ui.utils.AccountUtils import dagger.hilt.android.HiltAndroidApp diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/received/ReceivedScreen.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/received/ReceivedScreen.kt index 357ccd327..187424591 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/received/ReceivedScreen.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/received/ReceivedScreen.kt @@ -32,6 +32,7 @@ import com.infomaniak.swisstransfer.ui.components.EmptyState import com.infomaniak.swisstransfer.ui.components.transfer.TransfersListWithExpiredBottomSheet import com.infomaniak.swisstransfer.ui.images.AppImages.AppIllus import com.infomaniak.swisstransfer.ui.images.illus.MascotWithMagnifyingGlass +import com.infomaniak.swisstransfer.ui.previewparameter.TransferUiListPreviewParameter import com.infomaniak.swisstransfer.ui.screen.main.components.BrandTopAppBarScaffold import com.infomaniak.swisstransfer.ui.screen.main.received.components.ReceivedEmptyFab import com.infomaniak.swisstransfer.ui.screen.main.transfers.TransfersViewModel @@ -39,7 +40,6 @@ import com.infomaniak.swisstransfer.ui.theme.LocalWindowAdaptiveInfo import com.infomaniak.swisstransfer.ui.theme.SwissTransferTheme import com.infomaniak.swisstransfer.ui.utils.PreviewAllWindows import com.infomaniak.swisstransfer.ui.utils.isWindowSmall -import java.util.Date @Composable fun ReceivedScreen( diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/transfers/TransfersScreenWrapper.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/transfers/TransfersScreenWrapper.kt index 11408b265..059df7dba 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/transfers/TransfersScreenWrapper.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/transfers/TransfersScreenWrapper.kt @@ -62,7 +62,7 @@ fun TransfersScreenWrapper( private fun ListPane( direction: TransferDirection, navigator: ThreePaneScaffoldNavigator, - hasTransfer: (Boolean) -> Unit + hasTransfer: (Boolean) -> Unit, ) { when (direction) { TransferDirection.SENT -> SentScreen( @@ -95,6 +95,7 @@ private fun ThreePaneScaffoldNavigator.getSelectedTransferUu @Composable private fun DetailPane( navigator: ThreePaneScaffoldNavigator, + hasTransfer: Boolean, navigateToFilesDetails: (fileUuid: String) -> Unit, ) {