feat: Add accountUsername to ChatsListScreen for improved user identification
This commit is contained in:
@@ -490,6 +490,7 @@ fun MainScreen(
|
||||
ChatsListScreen(
|
||||
isDarkTheme = isDarkTheme,
|
||||
accountName = accountName,
|
||||
accountUsername = accountUsername,
|
||||
accountPhone = accountPhone,
|
||||
accountPublicKey = accountPublicKey,
|
||||
accountPrivateKey = accountPrivateKey,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user