Fixed some graphical Issues, like the toolbar labels and the navigation title
This commit is contained in:
parent
5e199f41f8
commit
4b24048477
@ -30,11 +30,13 @@ struct ContentView: View {
|
|||||||
.environmentObject(dataStore)
|
.environmentObject(dataStore)
|
||||||
}
|
}
|
||||||
HStack {
|
HStack {
|
||||||
|
Spacer()
|
||||||
Button(action: {
|
Button(action: {
|
||||||
self.currentView = 0
|
self.currentView = 0
|
||||||
}) {
|
}) {
|
||||||
VStack {
|
VStack {
|
||||||
Label("Discovery", systemImage: "dot.radiowaves.left.and.right")
|
Image(systemName: "dot.radiowaves.left.and.right")
|
||||||
|
Text("Discovery")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Spacer()
|
Spacer()
|
||||||
@ -42,7 +44,8 @@ struct ContentView: View {
|
|||||||
self.currentView = 1
|
self.currentView = 1
|
||||||
}) {
|
}) {
|
||||||
VStack {
|
VStack {
|
||||||
Label("Feeds", systemImage: "person.2")
|
Image(systemName: "person.2")
|
||||||
|
Text("Feeds")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Spacer()
|
Spacer()
|
||||||
@ -50,13 +53,14 @@ struct ContentView: View {
|
|||||||
self.currentView = 2
|
self.currentView = 2
|
||||||
}) {
|
}) {
|
||||||
VStack {
|
VStack {
|
||||||
Label("Settings",systemImage: "gear")
|
Image(systemName: "gear")
|
||||||
|
Text("Settings")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Spacer()
|
||||||
}
|
}
|
||||||
.frame(height: UIScreen.main.bounds.height * 0.05)
|
.frame(height: UIScreen.main.bounds.height * 0.05)
|
||||||
}
|
}
|
||||||
.padding()
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,7 +16,7 @@ struct SettingsView: View {
|
|||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
|
|
||||||
|
NavigationView {
|
||||||
List {
|
List {
|
||||||
Section(header: Text("Personal Feed ID")) {
|
Section(header: Text("Personal Feed ID")) {
|
||||||
Label(dataStore.personalID, systemImage: "person.crop.circle")
|
Label(dataStore.personalID, systemImage: "person.crop.circle")
|
||||||
@ -54,6 +54,7 @@ struct SettingsView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user