changeset 289:eaa9df02096f

Minor UI Updates
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Sat, 20 Mar 2021 16:10:52 +0100
parents 53b1c504428a
children 559eb51a70e6
files LazyBear/Models/InsiderSummaryModel.swift LazyBear/UI/InsiderTransactions.swift LazyBear/UI/NewsView.swift LazyBear/UI/Search.swift LazyBear/UI/Settings.swift LazyBear/UI/Watchlist.swift
diffstat 6 files changed, 6 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/LazyBear/Models/InsiderSummaryModel.swift	Sat Mar 20 16:10:41 2021 +0100
+++ b/LazyBear/Models/InsiderSummaryModel.swift	Sat Mar 20 16:10:52 2021 +0100
@@ -1,5 +1,5 @@
 //
-//  InsiderSumModel.swift
+//  InsiderSummaryModel.swift
 //  LazyBear
 //
 //  Created by Dennis Concepción Martín on 5/3/21.
--- a/LazyBear/UI/InsiderTransactions.swift	Sat Mar 20 16:10:41 2021 +0100
+++ b/LazyBear/UI/InsiderTransactions.swift	Sat Mar 20 16:10:52 2021 +0100
@@ -15,12 +15,8 @@
         VStack(alignment: .leading) {
             if !transactions.isEmpty {
                 HStack {
-                    Image(systemName: "dollarsign.square.fill")
-                        .foregroundColor(Color(.systemGreen))
-                        .imageScale(.large)
-                    
                     Text("Latest transactions")
-                        .font(.title2)
+                        .font(.title)
                         .fontWeight(.semibold)
                     
                     Spacer()
--- a/LazyBear/UI/NewsView.swift	Sat Mar 20 16:10:41 2021 +0100
+++ b/LazyBear/UI/NewsView.swift	Sat Mar 20 16:10:52 2021 +0100
@@ -18,12 +18,8 @@
         VStack(alignment: .leading) {
             if !news.isEmpty {
                 HStack {
-                    Image(systemName: "newspaper.fill")
-                        .foregroundColor(Color(.systemTeal))
-                        .imageScale(.large)
-                    
                     Text("Recent news")
-                        .font(.title2)
+                        .font(.title)
                         .fontWeight(.semibold)
                     
                     Spacer()
--- a/LazyBear/UI/Search.swift	Sat Mar 20 16:10:41 2021 +0100
+++ b/LazyBear/UI/Search.swift	Sat Mar 20 16:10:52 2021 +0100
@@ -29,7 +29,7 @@
                 .onChange(of: company, perform: { company in
                     request(url: getUrl(), model: [CompanyModel].self) { self.companies = $0 }
                 })
-            .navigationTitle("Search 🔍")
+            .navigationTitle("Search")
         }
         .navigationViewStyle(StackNavigationViewStyle())
         
--- a/LazyBear/UI/Settings.swift	Sat Mar 20 16:10:41 2021 +0100
+++ b/LazyBear/UI/Settings.swift	Sat Mar 20 16:10:52 2021 +0100
@@ -40,7 +40,7 @@
                     }
                 }
             }
-            .navigationTitle("Settings 👨🏻‍🔧")
+            .navigationTitle("Settings")
         }
         .navigationViewStyle(StackNavigationViewStyle())
     }
--- a/LazyBear/UI/Watchlist.swift	Sat Mar 20 16:10:41 2021 +0100
+++ b/LazyBear/UI/Watchlist.swift	Sat Mar 20 16:10:52 2021 +0100
@@ -28,7 +28,7 @@
                 }
                 .onDelete(perform: removeCompany)
             }
-            .navigationTitle("Watchlist 👀")
+            .navigationTitle("Watchlist")
         }
         .navigationViewStyle(StackNavigationViewStyle())
     }