VisionOS Fixes

This commit is contained in:
Thomas Ricouard 2024-01-16 19:32:36 +01:00
parent 0dea624060
commit 1a0b52d268
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ public struct NotificationsListView: View {
trailing: .layoutPadding))
#if os(visionOS)
.listRowBackground(RoundedRectangle(cornerRadius: 8)
.foregroundStyle(Material.regular))
.foregroundStyle(.background))
#else
.listRowBackground(theme.primaryBackgroundColor)
#endif

View File

@ -136,7 +136,7 @@ public struct StatusRowView: View {
}
#if os(visionOS)
.listRowBackground(RoundedRectangle(cornerRadius: 8)
.foregroundStyle(Material.regular))
.foregroundStyle(.background))
.listRowHoverEffect(.lift)
#else
.listRowBackground(viewModel.highlightRowColor)