mirror of
https://github.com/Mueller-Patrick/DHBW-Service-App.git
synced 2026-04-28 18:30:09 +00:00
Fixing Toolbar
This commit is contained in:
@@ -25,11 +25,15 @@ struct ContentView: View {
|
||||
}
|
||||
.toolbar {
|
||||
#if os(iOS)
|
||||
EditButton()
|
||||
ToolbarItem(placement: .bottomBar) {
|
||||
EditButton()
|
||||
}
|
||||
#endif
|
||||
|
||||
Button(action: addItem) {
|
||||
Label("Add Item", systemImage: "plus")
|
||||
|
||||
ToolbarItem(placement: .bottomBar) {
|
||||
Button(action: addItem) {
|
||||
Label("Add Item", systemImage: "plus")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user