Fix reactions button faint outline. (#1226)

This commit is contained in:
Doug 2023-06-30 14:21:25 +01:00 committed by GitHub
parent 2025dd9517
commit ccd4101abf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ struct TimelineReactionButton: View {
}
.padding(.vertical, 6)
.padding(.horizontal, 8)
.background(backgroundShape.fill(overlayBackgroundColor))
.background(backgroundShape.inset(by: 1).fill(overlayBackgroundColor))
.overlay(backgroundShape.inset(by: 2.0).strokeBorder(overlayBorderColor))
.overlay(backgroundShape.strokeBorder(Color.compound.bgCanvasDefault, lineWidth: 2))
.accessibilityElement(children: .combine)