mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 02:55:23 +00:00
refactor: put it in an object instead of abstract class
This commit is contained in:
parent
1b2e734453
commit
5012374a1f
@ -11,7 +11,7 @@ import org.thoughtcrime.securesms.crypto.KeyPairUtilities
|
||||
|
||||
@Module
|
||||
@InstallIn(ActivityRetainedComponent::class)
|
||||
abstract class SessionUtilModule {
|
||||
object SessionUtilModule {
|
||||
|
||||
private fun maybeUserEdSecretKey(context: ApplicationContext): ByteArray? {
|
||||
val edKey = KeyPairUtilities.getUserED25519KeyPair(context) ?: return null
|
||||
|
Loading…
Reference in New Issue
Block a user