diff --git a/ElementX/Sources/Screens/HomeScreen/View/HomeScreenRoomCell.swift b/ElementX/Sources/Screens/HomeScreen/View/HomeScreenRoomCell.swift index 950d6b483..3c9b1eb2e 100644 --- a/ElementX/Sources/Screens/HomeScreen/View/HomeScreenRoomCell.swift +++ b/ElementX/Sources/Screens/HomeScreen/View/HomeScreenRoomCell.swift @@ -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() diff --git a/PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenRoomCell.Last-Message-State-iPad-en-GB.png b/PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenRoomCell.Last-Message-State-iPad-en-GB.png index e68c1dfc8..e6b12ef09 100644 --- a/PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenRoomCell.Last-Message-State-iPad-en-GB.png +++ b/PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenRoomCell.Last-Message-State-iPad-en-GB.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fb5f3d945f3fdd9c57613c9c3110d285ebdc881e30d4fe72988d1ac4d5249ac4 -size 96301 +oid sha256:8562608c9ece90023600b1c482051b57471f757ad5e4830cd1a8a0e5f6fd2783 +size 96619 diff --git a/PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenRoomCell.Last-Message-State-iPad-pseudo.png b/PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenRoomCell.Last-Message-State-iPad-pseudo.png index 0c757e7ba..299145076 100644 --- a/PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenRoomCell.Last-Message-State-iPad-pseudo.png +++ b/PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenRoomCell.Last-Message-State-iPad-pseudo.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c000bb9cb033c8258697cab9854acad257703bb0522ba793831e5177d6daeb98 -size 97622 +oid sha256:b9bfd2b0f5d2a53ea431775e8d8093dfbbd8fe01d82ea5fe562f2a9a74dd4817 +size 97954 diff --git a/PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenRoomCell.Last-Message-State-iPhone-en-GB.png b/PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenRoomCell.Last-Message-State-iPhone-en-GB.png index 5e1029e39..93766f81d 100644 --- a/PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenRoomCell.Last-Message-State-iPhone-en-GB.png +++ b/PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenRoomCell.Last-Message-State-iPhone-en-GB.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:46777589e3790e982b497eee806f2d68c7f50ee9dcb9fc08e3aef08eeae02471 -size 82974 +oid sha256:cbe55785e10ac05ec66a8db44dfec30dcc85bd738f5655dd21ee798d95770fe7 +size 83307 diff --git a/PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenRoomCell.Last-Message-State-iPhone-pseudo.png b/PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenRoomCell.Last-Message-State-iPhone-pseudo.png index 7007bf6d0..6629c9de7 100644 --- a/PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenRoomCell.Last-Message-State-iPhone-pseudo.png +++ b/PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenRoomCell.Last-Message-State-iPhone-pseudo.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9f798d16e787c4053e1b8534c9c2bb381b4cb01338e26db07d3c46d9bb6b0897 -size 87668 +oid sha256:2f7643aac3625e0d0511e77338a6c6f7eb8087bb25f022d337c2bb93ebae9ad1 +size 88007