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)) trailing: .layoutPadding))
#if os(visionOS) #if os(visionOS)
.listRowBackground(RoundedRectangle(cornerRadius: 8) .listRowBackground(RoundedRectangle(cornerRadius: 8)
.foregroundStyle(Material.regular)) .foregroundStyle(.background))
#else #else
.listRowBackground(theme.primaryBackgroundColor) .listRowBackground(theme.primaryBackgroundColor)
#endif #endif

View file

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