79481323

Date: 2025-03-03 15:09:00
Score: 1
Natty:
Report link

You need 2 modifiers for this:

.listRowInsets(.init())

.listRowBackground(Color.clear)

As in:

HStack(spacing: 20) { ... }
    .padding(.vertical, 8)
    .listRowInsets(.init()) // Remove the default row insets
    .listRowBackground(Color.clear) // Remove the default row background
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 2pp