Only add section header padding for macOS

This commit is contained in:
Maurice Parker 2020-07-13 12:00:59 -05:00
parent b79a1aef0c
commit ffa579446e
1 changed files with 4 additions and 0 deletions

View File

@ -81,7 +81,11 @@ struct SidebarView: View {
}
}
} label: {
#if os(macOS)
SidebarItemView(sidebarItem: sidebarItem).padding(.leading, 4)
#else
SidebarItemView(sidebarItem: sidebarItem)
#endif
}
}
}