Skip to content

Commit

Permalink
Better sidebar icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimillian committed Jul 11, 2020
1 parent f99abd7 commit a2ea785
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions RedditOs/Features/Sidebar/Sidebar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ struct Sidebar: View {
}.tag("profile")
Label("Inbox", systemImage: "envelope")
Label("Posts", systemImage: "square.and.pencil")
Label("Comments", systemImage: "bubble.middle.bottom.fill")
Label("Comments", systemImage: "text.bubble")
Label("Saved", systemImage: "archivebox")
}.listItemTint(Color("RedditBlue"))

Expand All @@ -41,7 +41,7 @@ struct Sidebar: View {
ForEach(localData.subreddits) { reddit in
HStack {
NavigationLink(destination: SubredditView(name: reddit.name)) {
Label(reddit.name.capitalized, systemImage: "star.fill")
Label(reddit.name.capitalized, systemImage: "star")
}.tag("local\(reddit.name)")
if isInEditMode {
Spacer()
Expand Down
6 changes: 3 additions & 3 deletions RedditOs/Features/Sidebar/SidebarViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ class SidebarViewModel: ObservableObject {

func icon() -> String {
switch self {
case .best: return "airplane"
case .hot: return "flame.fill"
case .best: return "sun.max"
case .hot: return "flame"
case .new: return "calendar.circle"
case .top: return "chart.bar.fill"
case .top: return "chart.bar"
case .rising: return "waveform.path.ecg"
}
}
Expand Down

0 comments on commit a2ea785

Please sign in to comment.