Add space between section header and feed url, since macOS doesn't add it like it should

This commit is contained in:
Maurice Parker 2020-07-18 20:22:41 -05:00
parent 68f4ea88c9
commit 9240c8e8a9

View File

@ -100,6 +100,10 @@ struct InspectorView: View {
#endif
Section(header: Text("Feed URL")) {
VStack {
#if os(macOS)
Spacer() // This shouldn't be necessary, but for some reason macOS doesn't put the space in itself
#endif
Text(verbatim: (sidebarItem.feed as? WebFeed)?.url ?? "")
.fixedSize(horizontal: false, vertical: true)
.contextMenu(ContextMenu(menuItems: {
@ -116,6 +120,7 @@ struct InspectorView: View {
})
}))
}
}
#if os(macOS)
HStack {