This commit is contained in:
spaced4ndy
2026-07-07 13:21:35 +04:00
parent b4b2541590
commit 97f73675bd
3 changed files with 5 additions and 4 deletions
@@ -148,7 +148,6 @@ func ciMetaText(
space = textSpace
}
if meta.msgSigned == .verified {
appendSpace()
r = r + colored(Text(Image("signature.plain")), resolved)
space = textSpace
}
@@ -165,7 +165,11 @@ struct ChatItemInfoView: View {
if meta.msgSigned == .verified {
let signedText: LocalizedStringKey = ci.chatDir.sent ? "Signed" : "Signed & verified"
HStack {
Label(signedText, image: "signature.plain")
Label {
Text(signedText)
} icon: {
Image("signature.plain").foregroundColor(.secondary)
}
Spacer()
}
}
@@ -108,7 +108,6 @@ private fun CIMetaText(
StatusIconText(painterResource(if (encrypted) MR.images.ic_lock else MR.images.ic_lock_open_right), color)
}
if (meta.msgSigned == MsgSigStatus.Verified) {
Spacer(Modifier.width(4.dp))
StatusIconText(painterResource(MR.images.ic_signature), color)
}
@@ -172,7 +171,6 @@ fun reserveSpaceForMeta(
space = whiteSpace
}
if (meta.msgSigned == MsgSigStatus.Verified) {
appendSpace()
res += iconSpace
space = whiteSpace
}