Skip to content

Commit

Permalink
Added Tab Icons
Browse files Browse the repository at this point in the history
Added Tab Icons for TabView
  • Loading branch information
martin-headspace committed Feb 19, 2020
1 parent a72a825 commit ee3bbf4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
3 changes: 1 addition & 2 deletions FlinkChallenge/FlinkChallenge/Views/CardView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ struct Card: View {
.foregroundColor(.gray)
}
Spacer()
Image(systemName: "info.circle")
.foregroundColor(.gray)

}.padding(.horizontal)
}.padding(.bottom)
.background(Color.white)
Expand Down
12 changes: 10 additions & 2 deletions FlinkChallenge/FlinkChallenge/Views/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,23 @@ struct ContentView: View {
}.accentColor(Color(red: 0, green: 0.6, blue: 0.6))
.tag(0)
.tabItem {
Text("Characters")
VStack {
Image(systemName: "person.circle.fill")
.foregroundColor(.gray)
Text("Advanced Search")
}
}

NavigationView {
AdvancedFilterView().navigationBarTitle(Text("Advanced Search"))
}
.tag(1)
.tabItem {
Text("Advanced Search")
VStack {
Image(systemName: "magnifyingglass.circle.fill")
.foregroundColor(.gray)
Text("Advanced Search")
}
}
}
}
Expand Down

0 comments on commit ee3bbf4

Please sign in to comment.