Adding plus button
This commit is contained in:
parent
8ddab46918
commit
c80f073f03
@ -40,13 +40,19 @@ struct SidebarView: View {
|
||||
.collapsible(false)
|
||||
}
|
||||
.frame(minWidth: 180)
|
||||
// .toolbar {
|
||||
// ToolbarItem(placement: .primaryAction) {
|
||||
// Button("xxx") {
|
||||
//
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
.toolbar {
|
||||
ToolbarItem {
|
||||
Spacer()
|
||||
}
|
||||
ToolbarItem {
|
||||
Button {
|
||||
|
||||
} label: {
|
||||
Image(systemName: "plus")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user