Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix #8502: Use correct Brave icons for top news widgets (#8503)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehickinson authored and Brandon-T committed Dec 14, 2023
1 parent 5565372 commit 5f1626f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
8 changes: 4 additions & 4 deletions App/BraveWidgets/TopNewsListWidget.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ private struct TopNewsListView: View {
private var headerView: some View {
HStack {
HStack(spacing: 4) {
Image(braveSystemName: "leo.brave.icon-monochrome")
.font(.system(size: 12))
.imageScale(.large)
.foregroundColor(Color(.braveOrange))
Image("brave-icon-no-bg")
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 16, height: 16)
Text(Strings.Widgets.braveNews)
.foregroundColor(Color(.braveLabel))
.font(.system(size: 14, weight: .bold, design: .rounded))
Expand Down
2 changes: 1 addition & 1 deletion App/BraveWidgets/TopNewsWidget.swift
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ private struct LockScreenTopNewsView: View {
.layoutPriority(2)
.multilineTextAlignment(.leading)
HStack(spacing: 3) {
Image(braveSystemName: "leo.brave.icon-monochrome")
Image(braveSystemName: "leo.brave.icon-outline")
.foregroundColor(.orange)
.font(.system(size: 12))
.padding(.trailing, -1)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"symbols" : [
{
"idiom" : "universal"
}
]
}

0 comments on commit 5f1626f

Please sign in to comment.