diff LazyBear/Views/Search/Helpers/SearchedCompanyItem.swift @ 457:c6913f0ce46e

Minor UI Updates
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Mon, 28 Jun 2021 14:03:50 +0200
parents 4effac4733b0
children
line wrap: on
line diff
--- a/LazyBear/Views/Search/Helpers/SearchedCompanyItem.swift	Mon Jun 28 12:51:06 2021 +0200
+++ b/LazyBear/Views/Search/Helpers/SearchedCompanyItem.swift	Mon Jun 28 14:03:50 2021 +0200
@@ -22,11 +22,11 @@
                 let watchlistSymbols = watchlistCompanies.map { $0.symbol }
                 if watchlistSymbols.contains(company.symbol!) {
                     Image(systemName: "star.fill")
-                        .foregroundColor(.yellow)
+                        .foregroundColor(Color.yellow)
                         .imageScale(.large)
                 } else {
                     Image(systemName: "star")
-                        .foregroundColor(.yellow)
+                        .foregroundColor(Color.yellow)
                         .imageScale(.large)
                 }
             }