From 49ae759178271f5f6d72cb23ab876bb4591dec8f Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Mon, 16 Sep 2024 17:19:27 -0600 Subject: [PATCH] fix the lint --- library/src/main/java/org/xmtp/android/library/Contacts.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/java/org/xmtp/android/library/Contacts.kt b/library/src/main/java/org/xmtp/android/library/Contacts.kt index 801fea64d..dfe00e215 100644 --- a/library/src/main/java/org/xmtp/android/library/Contacts.kt +++ b/library/src/main/java/org/xmtp/android/library/Contacts.kt @@ -222,7 +222,7 @@ class ConsentList( } suspend fun setV3ConsentState(entries: List) { - entries.forEach { + entries.iterator().forEach { client.v3Client?.setConsentState( ConsentState.toFfiConsentState(it.consentType), EntryType.toFfiConsentEntityType(it.entryType),