changeset 68:d50886c51e07

Fix layout bugs
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Wed, 20 Jan 2021 18:14:31 +0100
parents 48915983efad
children 6580039212af
files LazyBear.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate lazybear/Company.swift lazybear/Main.swift
diffstat 3 files changed, 2 insertions(+), 2 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:51:03 2021 +0100
+++ b/lazybear/Company.swift	Wed Jan 20 18:14:31 2021 +0100
@@ -25,7 +25,7 @@
                 else {
                     Insiders(cik: cik, symbol: symbol, name: name)
                 }
-                
+                Spacer()
                 // Start bottom selection
                 Rectangle()
                     .foregroundColor(.white)
--- a/lazybear/Main.swift	Wed Jan 20 17:51:03 2021 +0100
+++ b/lazybear/Main.swift	Wed Jan 20 18:14:31 2021 +0100
@@ -34,7 +34,7 @@
                             .imageIconModifier(maxWidth: 30)
                         
                     }
-                    .sheet(isPresented: $showingUser) {
+                    .fullScreenCover(isPresented: $showingUser) {
                         User()
                             .environment(\.managedObjectContext, self.viewContext)