NIP-55: Fix return field from nip44_encrypt (#2184)

This commit is contained in:
greenart7c3
2026-01-05 10:57:34 -03:00
committed by GitHub
parent 2f71cf74ae
commit d7db75fc69

4
55.md
View File

@@ -210,10 +210,10 @@ launcher.launch(intent)
context.startActivity(intent)
```
- result:
- If the user approved intent it will return the **signature** and **id** fields
- If the user approved intent it will return the **result** and **id** fields
```kotlin
val encryptedText = intent.data?.getStringExtra("signature")
val encryptedText = intent.data?.getStringExtra("result")
// the id you sent
val id = intent.data?.getStringExtra("id")
```