1
0
mirror of https://github.com/yattee/yattee.git synced 2025-01-08 10:30:32 +05:30

Improve macOS Big Sur blur effect

This commit is contained in:
Arkadiusz Fal 2022-01-06 17:00:58 +01:00
parent 8a74938b98
commit e159bb772c
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ struct DetailBadge: View {
} else { } else {
content content
#if os(macOS) #if os(macOS)
.background(VisualEffectBlur()) .background(VisualEffectBlur(material: .hudWindow))
#elseif os(iOS) #elseif os(iOS)
.background(VisualEffectBlur(blurStyle: .systemThinMaterial)) .background(VisualEffectBlur(blurStyle: .systemThinMaterial))
#endif #endif

View File

@ -119,7 +119,7 @@ struct PlayerControlsView<Content: View>: View {
} else { } else {
controls controls
#if os(macOS) #if os(macOS)
.background(VisualEffectBlur()) .background(VisualEffectBlur(material: .hudWindow))
#elseif os(iOS) #elseif os(iOS)
.background(VisualEffectBlur(blurStyle: .systemUltraThinMaterial)) .background(VisualEffectBlur(blurStyle: .systemUltraThinMaterial))
#endif #endif