feat: Update avatar color retrieval to use public key instead of name in UnlockScreen and ChatsListScreen
This commit is contained in:
@@ -248,7 +248,7 @@ fun UnlockScreen(
|
||||
) {
|
||||
// Avatar
|
||||
if (selectedAccount != null) {
|
||||
val avatarColors = getAvatarColor(selectedAccount!!.name, isDarkTheme)
|
||||
val avatarColors = getAvatarColor(selectedAccount!!.publicKey, isDarkTheme)
|
||||
Box(
|
||||
modifier = Modifier
|
||||
.size(48.dp)
|
||||
@@ -398,7 +398,7 @@ fun UnlockScreen(
|
||||
verticalAlignment = Alignment.CenterVertically
|
||||
) {
|
||||
// Avatar
|
||||
val avatarColors = getAvatarColor(account.name, isDarkTheme)
|
||||
val avatarColors = getAvatarColor(account.publicKey, isDarkTheme)
|
||||
Box(
|
||||
modifier = Modifier
|
||||
.size(40.dp)
|
||||
|
||||
Reference in New Issue
Block a user