We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0d6f3c + 0963c05 commit d44491aCopy full SHA for d44491a
V2exOS/Views/SidebarView.swift
@@ -57,7 +57,10 @@ struct SidebarView: View {
57
.listStyle(.sidebar)
58
.toolbar {
59
ToolbarItemGroup {
60
- Button(action:{}, label: {
+ Button(action:{
61
+ NSApp.keyWindow?.initialFirstResponder?.tryToPerform(
62
+ #selector(NSSplitViewController.toggleSidebar(_:)), with: nil)
63
+ }, label: {
64
Image(systemName: "sidebar.left")
65
})
66
}
0 commit comments