feat: Add accountUsername to ChatsListScreen for improved user identification

This commit is contained in:
k1ngsterr1
2026-01-22 00:41:53 +05:00
parent 6ad539e90e
commit 7cdd43402d
2 changed files with 4 additions and 2 deletions

View File

@@ -490,6 +490,7 @@ fun MainScreen(
ChatsListScreen(
isDarkTheme = isDarkTheme,
accountName = accountName,
accountUsername = accountUsername,
accountPhone = accountPhone,
accountPublicKey = accountPublicKey,
accountPrivateKey = accountPrivateKey,

View File

@@ -130,6 +130,7 @@ fun getAvatarText(publicKey: String): String {
fun ChatsListScreen(
isDarkTheme: Boolean,
accountName: String,
accountUsername: String,
accountPhone: String,
accountPublicKey: String,
accountPrivateKey: String = "",
@@ -562,10 +563,10 @@ fun ChatsListScreen(
)
// Username display
if (accountName.isNotEmpty()) {
if (accountUsername.isNotEmpty()) {
Text(
text =
"@$accountName",
"@$accountUsername",
fontSize = 13.sp,
color =
Color.White