Add support for event kind 39701 (Public web bookmark)

This change adds a human-readable string for Nostr event kind 39701 and updates the `Permission` model to return this localized string when mapping event kinds to descriptions.
This commit is contained in:
greenart7c3
2026-06-03 15:50:10 -03:00
parent ce7e54a5f1
commit bcb83f1a5d
2 changed files with 2 additions and 0 deletions
@@ -282,6 +282,7 @@ data class Permission(
in 39003..39009 -> context.getString(R.string.event_kind_39000_39009)
39089 -> context.getString(R.string.event_kind_39089)
39092 -> context.getString(R.string.event_kind_39092)
39701 -> context.getString(R.string.event_kind_39701)
10000300 -> context.getString(R.string.event_kind_10000300)
else -> {
val nipDescription = nipToLocalizedString(context, this, true)
+1
View File
@@ -716,4 +716,5 @@
<string name="signin_restore_message">Found an encrypted applications backup with %1$d applications and %2$d permissions. Restore now?</string>
<string name="signin_restore_accept">Restore</string>
<string name="signin_restore_skip">Skip</string>
<string name="event_kind_39701">Public web bookmark</string>
</resources>