feat: Add public key handling for avatar display and enhance paste functionality in seed phrase confirmation

This commit is contained in:
k1ngsterr1
2026-01-09 01:58:56 +05:00
parent 634d3094e3
commit e9eac107f2
3 changed files with 167 additions and 103 deletions

View File

@@ -205,11 +205,13 @@ fun MainScreen(
val accountPhone = account?.publicKey?.take(16)?.let {
"+${it.take(1)} ${it.substring(1, 4)} ${it.substring(4, 7)}${it.substring(7)}"
} ?: "+7 775 9932587"
val accountPublicKey = account?.publicKey ?: "04c266b98ae5"
ChatsListScreen(
isDarkTheme = isDarkTheme,
accountName = accountName,
accountPhone = accountPhone,
accountPublicKey = accountPublicKey,
onToggleTheme = onToggleTheme,
onProfileClick = {
// TODO: Navigate to profile