Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kele-leanes committed Dec 5, 2023
1 parent 81a8a7e commit 8018176
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand All @@ -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
)

Expand Down
2 changes: 1 addition & 1 deletion library/src/main/java/org/xmtp/android/library/Client.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8018176

Please sign in to comment.