mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
A couple of fixes to match the Figma more closely.
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ struct CollapsibleRoomTimelineView: View {
|
||||
isExpanded.toggle()
|
||||
}
|
||||
} label: {
|
||||
HStack(alignment: .center, spacing: 8) {
|
||||
HStack(alignment: .center, spacing: 4) {
|
||||
Text(L10n.screenRoomTimelineStateChanges(timelineItem.items.count))
|
||||
.font(.compound.bodySM)
|
||||
CompoundIcon(\.chevronRight, size: .small, relativeTo: .compound.bodySM)
|
||||
|
||||
+10
-4
@@ -63,14 +63,20 @@ struct VideoRoomTimelineView: View {
|
||||
}
|
||||
|
||||
var playIcon: some View {
|
||||
CompoundIcon(\.playSolid, size: .custom(50), relativeTo: .compound.headingLG)
|
||||
.background(.ultraThinMaterial, in: Circle())
|
||||
.foregroundColor(.white)
|
||||
CompoundIcon(\.playSolid, size: .medium, relativeTo: .compound.headingLG)
|
||||
.foregroundStyle(.compound.iconPrimary)
|
||||
.padding(13)
|
||||
.background {
|
||||
ZStack {
|
||||
Circle().fill(.compound.bgSubtleSecondary)
|
||||
Circle().stroke(.compound.borderInteractiveSecondary)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var placeholder: some View {
|
||||
Rectangle()
|
||||
.foregroundColor(timelineItem.isOutgoing ? .compound._bgBubbleOutgoing : .compound._bgBubbleIncoming)
|
||||
.foregroundStyle(timelineItem.isOutgoing ? .compound._bgBubbleOutgoing : .compound._bgBubbleIncoming)
|
||||
.opacity(0.3)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user