diff --git a/library/src/androidTest/java/org/xmtp/android/library/ClientTest.kt b/library/src/androidTest/java/org/xmtp/android/library/ClientTest.kt index 6c4680d82..0b1c58227 100644 --- a/library/src/androidTest/java/org/xmtp/android/library/ClientTest.kt +++ b/library/src/androidTest/java/org/xmtp/android/library/ClientTest.kt @@ -112,7 +112,8 @@ class ClientTest { expectation.complete(Unit) } - val opts = ClientOptions(ClientOptions.Api(XMTPEnvironment.LOCAL, false), + val opts = ClientOptions( + ClientOptions.Api(XMTPEnvironment.LOCAL, false), preEnableIdentityCallback = preEnableIdentityCallback ) @@ -134,7 +135,8 @@ class ClientTest { expectation.complete(Unit) } - val opts = ClientOptions(ClientOptions.Api(XMTPEnvironment.LOCAL, false), + val opts = ClientOptions( + ClientOptions.Api(XMTPEnvironment.LOCAL, false), preCreateIdentityCallback = preCreateIdentityCallback ) diff --git a/library/src/main/java/org/xmtp/android/library/Client.kt b/library/src/main/java/org/xmtp/android/library/Client.kt index 5b1fc0db0..c2d6ba240 100644 --- a/library/src/main/java/org/xmtp/android/library/Client.kt +++ b/library/src/main/java/org/xmtp/android/library/Client.kt @@ -45,7 +45,7 @@ typealias PublishResponse = org.xmtp.proto.message.api.v1.MessageApiOuterClass.P typealias QueryResponse = org.xmtp.proto.message.api.v1.MessageApiOuterClass.QueryResponse typealias PreEventCallback = suspend () -> Unit -data class ClientOptions(val api: Api = Api(), val preCreateIdentityCallback: PreEventCallback? = null, val preEnableIdentityCallback: PreEventCallback? = null ) { +data class ClientOptions(val api: Api = Api(), val preCreateIdentityCallback: PreEventCallback? = null, val preEnableIdentityCallback: PreEventCallback? = null) { data class Api( val env: XMTPEnvironment = XMTPEnvironment.DEV, val isSecure: Boolean = true,