changeset 62:9b84adfa89d4

Fix bug related to shadows
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Wed, 20 Jan 2021 17:46:17 +0100
parents 3d81c34d56d3
children e3c70a820d51
files LazyBear.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate lazybear/Company.swift lazybear/Stock.swift
diffstat 3 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
Binary file LazyBear.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate has changed
--- a/lazybear/Company.swift	Wed Jan 20 17:34:23 2021 +0100
+++ b/lazybear/Company.swift	Wed Jan 20 17:46:17 2021 +0100
@@ -35,7 +35,6 @@
                         Selection(showingInsiders: $showingInsiders, showingStocks: $showingStocks)
                     )
             }
-            .background(Color(.systemGray6).edgesIgnoringSafeArea(.all))
         }
     }
 }
--- a/lazybear/Stock.swift	Wed Jan 20 17:34:23 2021 +0100
+++ b/lazybear/Stock.swift	Wed Jan 20 17:46:17 2021 +0100
@@ -21,6 +21,10 @@
                     let width = geo.size.width*0.9
                     StockCharts(historicalPrices: historicalPrices, geoWidth: width)
                 }
+                .background(
+                    Color(.systemGray6)
+                        .edgesIgnoringSafeArea(.all)
+                )
             }
         }
         else {