Removes hardcoded amber packages as default

pull/835/head
Vitor Pamplona 2024-04-12 10:59:59 -04:00
rodzic 5559b69bdb
commit ef0d77f8eb
2 zmienionych plików z 2 dodań i 4 usunięć

Wyświetl plik

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

Wyświetl plik

@ -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,