mirror of
https://github.com/mastodon/mastodon-ios
synced 2025-04-11 22:58:02 +02:00
Dark mode update: .secondarySystemBackground for inline post previews
This commit is contained in:
parent
ef4ee4cd2f
commit
a24b2a3240
@ -27,7 +27,7 @@ struct InlinePostPreview: View {
|
||||
.frame(maxWidth: .infinity)
|
||||
.background {
|
||||
RoundedRectangle(cornerRadius: 8)
|
||||
.fill(colorScheme == .dark ? AnyShapeStyle(.separator) : AnyShapeStyle(.clear))
|
||||
.fill(colorScheme == .dark ? AnyShapeStyle(Color(UIColor.secondarySystemBackground)) : AnyShapeStyle(.clear))
|
||||
.stroke(.separator)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user