Added "global" toolbar with labels and images
This commit is contained in:
parent
3d950bf69f
commit
1f664b4250
@ -16,8 +16,26 @@ struct RippleChatApp: App {
|
||||
ContentView()
|
||||
.toolbar {
|
||||
ToolbarItemGroup(placement: .bottomBar) {
|
||||
Button("Peers") {}
|
||||
|
||||
Button(action: {}) {
|
||||
VStack {
|
||||
Label("Discovery", systemImage: "dot.radiowaves.left.and.right")
|
||||
Text("Discovery")
|
||||
}
|
||||
}
|
||||
Spacer()
|
||||
Button(action: {}) {
|
||||
VStack {
|
||||
Label("Discovery", systemImage: "person.2")
|
||||
Text("Feeds")
|
||||
}
|
||||
}
|
||||
Spacer()
|
||||
Button(action: {}) {
|
||||
VStack {
|
||||
Label("Discovery", systemImage: "gear")
|
||||
Text("Settings")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user