Skip to content

Commit a99058c

Browse files
committed
refactor: Replace MutableList with Collection
1 parent 74fd3ee commit a99058c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/com/infomaniak/drive/data/sync/UploadNotifications.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ object UploadNotifications {
156156
fun UploadFile.showUploadedFilesNotification(
157157
context: Context,
158158
successCount: Int,
159-
successNames: MutableList<String>,
159+
successNames: Collection<String>,
160160
failedCount: Int,
161-
failedNames: MutableList<String>
161+
failedNames: Collection<String>
162162
) = with(context.resources) {
163163
val total = successCount + failedCount
164164
val description = when {

0 commit comments

Comments
 (0)