Tweakity tweak tweaks

This commit is contained in:
Stefan Ceriu
2025-12-11 15:12:16 +02:00
committed by Stefan Ceriu
parent ea55e74a22
commit 09579fd8bc
5 changed files with 12 additions and 10 deletions

View File

@@ -106,12 +106,14 @@ struct HomeScreenRoomCell: View {
HStack(alignment: .top, spacing: 4.0) {
switch room.lastMessageState {
case .sending:
CompoundIcon(\.time, size: .xSmall, relativeTo: .compound.bodyLGSemibold)
CompoundIcon(\.time, size: .small, relativeTo: .compound.bodyMD)
.foregroundStyle(.compound.iconTertiary)
.offset(y: -1)
.accessibilityLabel(L10n.commonSending)
case .failed:
CompoundIcon(\.errorSolid, size: .xSmall, relativeTo: .compound.bodyLGSemibold)
CompoundIcon(\.errorSolid, size: .small, relativeTo: .compound.bodyMD)
.foregroundStyle(.compound.iconCriticalPrimary)
.offset(y: -1)
.accessibilityHidden(true) // The last message contains the error.
case .none:
EmptyView()