update new identity screen

This commit is contained in:
2026-05-20 16:55:57 +07:00
parent 43116958a2
commit e6dff5277d
5 changed files with 147 additions and 56 deletions
@@ -244,9 +244,9 @@ class NostrViewModel(
fun createIdentity(
name: String,
bio: String,
bio: String?,
picture: ByteArray?,
contentType: String?
contentType: String? = null
) {
viewModelScope.launch {
try {
@@ -282,7 +282,7 @@ class NostrViewModel(
}
// Create identity
nostr.createIdentity(keys = keys, name = name, bio = bio, picture = avatarUrl)
nostr.createIdentity(keys = keys, name = name, bio, picture = avatarUrl)
// Save secret to the secret storage
secretStore.set("user_signer", secret)