mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-10 16:31:48 +00:00
wip
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user