mirror of
https://github.com/yattee/yattee.git
synced 2026-01-06 20:02:31 +00:00
Change Popular icon to chart.bar.fill
Replace arrow.up.right.circle.fill icon with chart.bar.fill for the Popular section across all navigation contexts (tab bar, sidebar, and view header).
This commit is contained in:
@@ -115,7 +115,7 @@ struct AppTabNavigation: View {
|
|||||||
.toolbar { toolbarContent }
|
.toolbar { toolbarContent }
|
||||||
}
|
}
|
||||||
.tabItem {
|
.tabItem {
|
||||||
Label("Popular", systemImage: "arrow.up.right.circle.fill")
|
Label("Popular", systemImage: "chart.bar.fill")
|
||||||
.accessibility(label: Text("Popular"))
|
.accessibility(label: Text("Popular"))
|
||||||
}
|
}
|
||||||
.tag(TabSelection.popular)
|
.tag(TabSelection.popular)
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ struct Sidebar: View {
|
|||||||
|
|
||||||
if visibleSections.contains(.popular), accounts.app.supportsPopular {
|
if visibleSections.contains(.popular), accounts.app.supportsPopular {
|
||||||
NavigationLink(destination: LazyView(PopularView()), tag: TabSelection.popular, selection: $navigation.tabSelection) {
|
NavigationLink(destination: LazyView(PopularView()), tag: TabSelection.popular, selection: $navigation.tabSelection) {
|
||||||
Label("Popular", systemImage: "arrow.up.right.circle")
|
Label("Popular", systemImage: "chart.bar.fill")
|
||||||
.accessibility(label: Text("Popular"))
|
.accessibility(label: Text("Popular"))
|
||||||
}
|
}
|
||||||
.id("popular")
|
.id("popular")
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ struct PopularView: View {
|
|||||||
} label: {
|
} label: {
|
||||||
HStack(spacing: 12) {
|
HStack(spacing: 12) {
|
||||||
HStack(spacing: 6) {
|
HStack(spacing: 6) {
|
||||||
Image(systemName: "arrow.up.right.circle.fill")
|
Image(systemName: "chart.bar.fill")
|
||||||
.foregroundColor(.primary)
|
.foregroundColor(.primary)
|
||||||
.imageScale(.small)
|
.imageScale(.small)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user