Skip to content

Commit

Permalink
fix the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Jan 26, 2024
1 parent c4febaf commit c191404
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions library/src/main/java/org/xmtp/android/library/Client.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import org.xmtp.android.library.messages.Envelope
import org.xmtp.android.library.messages.EnvelopeBuilder
import org.xmtp.android.library.messages.InvitationV1ContextBuilder
import org.xmtp.android.library.messages.Pagination
import org.xmtp.android.library.messages.PrivateKeyBuilder
import org.xmtp.android.library.messages.PrivateKeyBundle
import org.xmtp.android.library.messages.PrivateKeyBundleBuilder
import org.xmtp.android.library.messages.PrivateKeyBundleV1
Expand Down Expand Up @@ -55,7 +54,6 @@ import java.util.TimeZone
import javax.crypto.KeyGenerator
import javax.crypto.SecretKey


typealias PublishResponse = org.xmtp.proto.message.api.v1.MessageApiOuterClass.PublishResponse
typealias QueryResponse = org.xmtp.proto.message.api.v1.MessageApiOuterClass.QueryResponse
typealias PreEventCallback = suspend () -> Unit
Expand Down Expand Up @@ -303,7 +301,6 @@ class Client() {

val entry = keyStore.getEntry(alias, null)


val retrievedKey: SecretKey = if (entry is KeyStore.SecretKeyEntry) {
entry.secretKey
} else {
Expand Down Expand Up @@ -346,7 +343,6 @@ class Client() {
return v3Client
}


/**
* This authenticates using [account] acquired from network storage
* encrypted using the [wallet].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ class XMTPLogger : FfiLogger {
else -> Log.i("$level $levelLabel", message)
}
}
}
}

0 comments on commit c191404

Please sign in to comment.