mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-02 20:16:54 +01:00
Remove icons from macOS context menus since they aren't supported
This commit is contained in:
parent
cbdfaaaf22
commit
900766d780
@ -45,67 +45,93 @@ struct SidebarItemView: View {
|
|||||||
if sidebarItem.representedType == .account {
|
if sidebarItem.representedType == .account {
|
||||||
Button(action: {}) {
|
Button(action: {}) {
|
||||||
Text("Get Info")
|
Text("Get Info")
|
||||||
|
#if os(iOS)
|
||||||
AppAssets.getInfoImage
|
AppAssets.getInfoImage
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
Button(action: {}) {
|
Button(action: {}) {
|
||||||
Text("Mark All As Read")
|
Text("Mark All As Read")
|
||||||
|
#if os(iOS)
|
||||||
AppAssets.markAllAsReadImage
|
AppAssets.markAllAsReadImage
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if sidebarItem.representedType == .pseudoFeed {
|
if sidebarItem.representedType == .pseudoFeed {
|
||||||
Button(action: {}) {
|
Button(action: {}) {
|
||||||
Text("Mark All As Read")
|
Text("Mark All As Read")
|
||||||
|
#if os(iOS)
|
||||||
AppAssets.markAllAsReadImage
|
AppAssets.markAllAsReadImage
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if sidebarItem.representedType == .webFeed {
|
if sidebarItem.representedType == .webFeed {
|
||||||
Button(action: {}) {
|
Button(action: {}) {
|
||||||
Text("Get Info")
|
Text("Get Info")
|
||||||
|
#if os(iOS)
|
||||||
AppAssets.getInfoImage
|
AppAssets.getInfoImage
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
Button(action: {}) {
|
Button(action: {}) {
|
||||||
Text("Mark All As Read")
|
Text("Mark All As Read")
|
||||||
|
#if os(iOS)
|
||||||
AppAssets.markAllAsReadImage
|
AppAssets.markAllAsReadImage
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
Divider()
|
Divider()
|
||||||
Button(action: {}) {
|
Button(action: {}) {
|
||||||
Text("Open Home Page")
|
Text("Open Home Page")
|
||||||
|
#if os(iOS)
|
||||||
AppAssets.openInBrowserImage
|
AppAssets.openInBrowserImage
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
Button(action: {}) {
|
Button(action: {}) {
|
||||||
Text("Copy Feed URL")
|
Text("Copy Feed URL")
|
||||||
|
#if os(iOS)
|
||||||
AppAssets.copyImage
|
AppAssets.copyImage
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
Button(action: {}) {
|
Button(action: {}) {
|
||||||
Text("Copy Home Page URL")
|
Text("Copy Home Page URL")
|
||||||
|
#if os(iOS)
|
||||||
AppAssets.copyImage
|
AppAssets.copyImage
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
Divider()
|
Divider()
|
||||||
Button(action: {}) {
|
Button(action: {}) {
|
||||||
Text("Rename")
|
Text("Rename")
|
||||||
|
#if os(iOS)
|
||||||
AppAssets.renameImage
|
AppAssets.renameImage
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
Button(action: {}) {
|
Button(action: {}) {
|
||||||
Text("Delete")
|
Text("Delete")
|
||||||
|
#if os(iOS)
|
||||||
AppAssets.deleteImage
|
AppAssets.deleteImage
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if sidebarItem.representedType == .folder {
|
if sidebarItem.representedType == .folder {
|
||||||
Button(action: {}) {
|
Button(action: {}) {
|
||||||
Text("Mark All As Read")
|
Text("Mark All As Read")
|
||||||
|
#if os(iOS)
|
||||||
AppAssets.markAllAsReadImage
|
AppAssets.markAllAsReadImage
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
Divider()
|
Divider()
|
||||||
Button(action: {}) {
|
Button(action: {}) {
|
||||||
Text("Rename")
|
Text("Rename")
|
||||||
|
#if os(iOS)
|
||||||
AppAssets.renameImage
|
AppAssets.renameImage
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
Button(action: {}) {
|
Button(action: {}) {
|
||||||
Text("Delete")
|
Text("Delete")
|
||||||
|
#if os(iOS)
|
||||||
AppAssets.deleteImage
|
AppAssets.deleteImage
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user