wip
This commit is contained in:
parent
8515b79b57
commit
4378b2806c
|
@ -34,7 +34,7 @@ struct MessageAttr: View {
|
||||||
let message: Message
|
let message: Message
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
VStack(alignment: .leading, spacing: 0) {
|
VStack(alignment: .trailing, spacing: 0) {
|
||||||
HStack(spacing: 2) {
|
HStack(spacing: 2) {
|
||||||
if !message.isInbound && message.encrypted {
|
if !message.isInbound && message.encrypted {
|
||||||
Image(systemName: "lock")
|
Image(systemName: "lock")
|
||||||
|
@ -55,22 +55,22 @@ struct MessageAttr: View {
|
||||||
switch message.status {
|
switch message.status {
|
||||||
case .sent:
|
case .sent:
|
||||||
Image(systemName: "checkmark")
|
Image(systemName: "checkmark")
|
||||||
.font(.body3)
|
.font(.sub1)
|
||||||
.foregroundColor(.Material.Shape.separator)
|
.foregroundColor(.Material.Shape.separator)
|
||||||
|
|
||||||
case .delivered:
|
case .delivered:
|
||||||
HStack {
|
HStack {
|
||||||
Image(systemName: "checkmark")
|
Image(systemName: "checkmark")
|
||||||
.font(.body3)
|
.font(.sub1)
|
||||||
.foregroundColor(.Material.Shape.separator)
|
.foregroundColor(.Material.Shape.separator)
|
||||||
Image(systemName: "checkmark")
|
Image(systemName: "checkmark")
|
||||||
.font(.body3)
|
.font(.sub1)
|
||||||
.foregroundColor(.Material.Shape.separator)
|
.foregroundColor(.Material.Shape.separator)
|
||||||
}
|
}
|
||||||
|
|
||||||
case .error:
|
case .error:
|
||||||
Image(systemName: "exclamationmark.circle")
|
Image(systemName: "exclamationmark.circle")
|
||||||
.font(.body3)
|
.font(.sub1)
|
||||||
.foregroundColor(.Rainbow.red500)
|
.foregroundColor(.Rainbow.red500)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue