mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-01 00:18:30 +02:00
Removes hardcoded amber packages as default
This commit is contained in:
parent
5559b69bdb
commit
ef0d77f8eb
@ -97,7 +97,7 @@ class Result(
|
||||
|
||||
class ExternalSignerLauncher(
|
||||
private val npub: String,
|
||||
val signerPackageName: String = "com.greenart7c3.nostrsigner",
|
||||
val signerPackageName: String,
|
||||
) {
|
||||
private val contentCache = LruCache<String, (String) -> Unit>(20)
|
||||
|
||||
|
@ -23,9 +23,7 @@ package com.vitorpamplona.quartz.signers
|
||||
import android.util.Log
|
||||
import com.goterl.lazysodium.BuildConfig
|
||||
import com.vitorpamplona.quartz.encoders.HexKey
|
||||
import com.vitorpamplona.quartz.encoders.hexToByteArray
|
||||
import com.vitorpamplona.quartz.encoders.toHexKey
|
||||
import com.vitorpamplona.quartz.encoders.toNpub
|
||||
import com.vitorpamplona.quartz.events.Event
|
||||
import com.vitorpamplona.quartz.events.EventFactory
|
||||
import com.vitorpamplona.quartz.events.LnZapPrivateEvent
|
||||
@ -33,7 +31,7 @@ import com.vitorpamplona.quartz.events.LnZapRequestEvent
|
||||
|
||||
class NostrSignerExternal(
|
||||
pubKey: HexKey,
|
||||
val launcher: ExternalSignerLauncher = ExternalSignerLauncher(pubKey.hexToByteArray().toNpub()),
|
||||
val launcher: ExternalSignerLauncher,
|
||||
) : NostrSigner(pubKey) {
|
||||
override fun <T : Event> sign(
|
||||
createdAt: Long,
|
||||
|
Loading…
x
Reference in New Issue
Block a user