VisionOS Fixes
This commit is contained in:
parent
0dea624060
commit
1a0b52d268
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue