Fix hover effect

This commit is contained in:
Thomas Ricouard 2024-01-16 20:55:55 +01:00
parent 1a0b52d268
commit b4ff3d2796

View file

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