diff LazyBear/Views/Home/HomeView.swift @ 453:37c13ebda381

Improve hierarchy and minor bugs fixed
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Sun, 27 Jun 2021 14:18:29 +0200
parents 4255f94d0767
children
line wrap: on
line diff
--- a/LazyBear/Views/Home/HomeView.swift	Sat Jun 26 18:45:31 2021 +0200
+++ b/LazyBear/Views/Home/HomeView.swift	Sun Jun 27 14:18:29 2021 +0200
@@ -51,7 +51,7 @@
                     .toolbar {
                         ToolbarItem(placement: .navigationBarTrailing) {
                             Button(action: { showTradingDates = true }) {
-                                Image(systemName: "calendar.badge.clock")
+                                Image(systemName: "clock")
                             }
                         }
                     }
@@ -66,11 +66,7 @@
             }
         } else {
             ProgressView()
-                .onAppear {
-                    home.request("https://api.lazybear.app/home/type=initial", .initial)
-                        
-                }
-
+                .onAppear { home.request("https://api.lazybear.app/home/type=initial", .initial) }
         }
     }
 }