mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Tweakity tweak tweaks
This commit is contained in:
committed by
Stefan Ceriu
parent
8518e67426
commit
cdc77a0cd1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user