From cdd686254a376e4b2dbf9488fe93486241277613 Mon Sep 17 00:00:00 2001 From: Vincent TE Date: Thu, 28 Nov 2024 08:44:00 +0100 Subject: [PATCH] chore: Fix rebase --- .../ui/previewparameter/FileUiListPreviewParameterProvider.kt | 3 --- .../ui/screen/newtransfer/ImportationFilesManager.kt | 2 -- 2 files changed, 5 deletions(-) diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/previewparameter/FileUiListPreviewParameterProvider.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/previewparameter/FileUiListPreviewParameterProvider.kt index 501e0b932..d4ecbc66d 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/previewparameter/FileUiListPreviewParameterProvider.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/previewparameter/FileUiListPreviewParameterProvider.kt @@ -58,7 +58,6 @@ val filesPreviewData = listOf( FileUi( uid = UUID.randomUUID().toString(), fileName = "Learning to Copy and Paste: A Complete Guide.docx", - isFolder = false, fileSize = 237_866_728L, mimeType = null, localPath = null, @@ -67,7 +66,6 @@ val filesPreviewData = listOf( FileUi( uid = UUID.randomUUID().toString(), fileName = "Introduction to Turning It Off and On Again.pptx", - isFolder = false, fileSize = 98_723_143L, mimeType = null, localPath = null, @@ -76,7 +74,6 @@ val filesPreviewData = listOf( FileUi( uid = UUID.randomUUID().toString(), fileName = "The 5-Step Guide to Not Breaking Your Code.txt", - isFolder = false, fileSize = 57_689_032L, mimeType = null, localPath = null, 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..418194be7 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 @@ -103,7 +103,6 @@ class ImportationFilesManager @Inject constructor( FileUi( uid = fileToImport.fileName, fileName = fileToImport.fileName, - isFolder = false, fileSize = fileToImport.fileSizeInBytes, mimeType = FileType.guessMimeTypeFromFileName(fileToImport.fileName), localPath = copiedFile.toUri().toString(), @@ -135,7 +134,6 @@ class ImportationFilesManager @Inject constructor( FileUi( uid = localFile.name, fileName = localFile.name, - isFolder = false, fileSize = fileSizeInBytes, mimeType = null, localPath = localFile.toUri().toString(),