Only add section header padding for macOS
This commit is contained in:
parent
b79a1aef0c
commit
ffa579446e
|
@ -81,7 +81,11 @@ struct SidebarView: View {
|
|||
}
|
||||
}
|
||||
} label: {
|
||||
#if os(macOS)
|
||||
SidebarItemView(sidebarItem: sidebarItem).padding(.leading, 4)
|
||||
#else
|
||||
SidebarItemView(sidebarItem: sidebarItem)
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue