mirror of
https://github.com/Mueller-Patrick/DHBW-Service-App.git
synced 2024-11-01 00:43:58 +00:00
Fixing Toolbar
This commit is contained in:
parent
97bfa5ee8a
commit
13d11c2c2e
|
@ -10,5 +10,23 @@
|
|||
<integer>0</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>SuppressBuildableAutocreation</key>
|
||||
<dict>
|
||||
<key>CD9FAB7C258EC60200D6D0C5</key>
|
||||
<dict>
|
||||
<key>primary</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>CD9FAB92258EC60600D6D0C5</key>
|
||||
<dict>
|
||||
<key>primary</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>CD9FAB9D258EC60600D6D0C5</key>
|
||||
<dict>
|
||||
<key>primary</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user