Removes rename

This commit is contained in:
Stuart Breckenridge 2020-07-18 21:24:06 +08:00
parent 0e2b8fd514
commit 5a7c3111ce
No known key found for this signature in database
GPG Key ID: 79BD673276AE83CE
1 changed files with 8 additions and 15 deletions

View File

@ -85,13 +85,6 @@ struct SidebarContextMenu: View {
}
Divider()
Button {
} label: {
Text("Rename")
#if os(iOS)
AppAssets.renameImage
#endif
}
Button {
} label: {
Text("Delete")
#if os(iOS)
@ -101,6 +94,14 @@ struct SidebarContextMenu: View {
}
if sidebarItem.representedType == .folder {
Button {
showInspector = true
} label: {
Text("Get Info")
#if os(iOS)
AppAssets.getInfoImage
#endif
}
Button {
} label: {
Text("Mark All As Read")
@ -109,14 +110,6 @@ struct SidebarContextMenu: View {
#endif
}
Divider()
Button {
showInspector = true
} label: {
Text("Rename")
#if os(iOS)
AppAssets.renameImage
#endif
}
Button {
} label: {
Text("Delete")