Fix/nostr dm bottom sheet (#598)

* nostr in new dm sheets

* open sheet for nostr peers
This commit is contained in:
callebtc
2026-01-14 17:38:47 +07:00
committed by GitHub
parent 216352c39d
commit e769a03634
5 changed files with 45 additions and 12 deletions
@@ -280,6 +280,7 @@ class GeohashViewModel(
}
fun displayNameForNostrPubkeyUI(pubkeyHex: String): String = repo.displayNameForNostrPubkeyUI(pubkeyHex)
fun displayNameForGeohashConversation(pubkeyHex: String, sourceGeohash: String): String = repo.displayNameForGeohashConversation(pubkeyHex, sourceGeohash)
fun colorForNostrPubkey(pubkeyHex: String, isDark: Boolean): androidx.compose.ui.graphics.Color {
val seed = "nostr:${pubkeyHex.lowercase()}"