mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-05 19:08:23 +00:00
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:
@@ -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)
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user