File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,7 @@ import SwiftUI
1111class SceneDelegate : UIResponder , UIWindowSceneDelegate {
1212
1313 var window : UIWindow ?
14-
15- var locationManagerDelegate = LocationManagerDelegate ( )
16-
14+
1715 @AppStorage ( " loggedIn " ) private var loggedIn : Bool = false
1816
1917
@@ -66,14 +64,12 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
6664 func sceneWillEnterForeground( _ scene: UIScene ) {
6765 // Called as the scene transitions from the background to the foreground.
6866 // Use this method to undo the changes made on entering the background.
69- locationManagerDelegate. startUpdatingLocation ( )
7067 }
7168
7269 func sceneDidEnterBackground( _ scene: UIScene ) {
7370 // Called as the scene transitions from the foreground to the background.
7471 // Use this method to save data, release shared resources, and store enough scene-specific state information
7572 // to restore the scene back to its current state.
76- locationManagerDelegate. stopUpdatingLocation ( )
7773 }
7874
7975 func scene( _ scene: UIScene , openURLContexts URLContexts: Set < UIOpenURLContext > ) {
You can’t perform that action at this time.
0 commit comments