nice animation for log in and out
This commit is contained in:
@@ -39,7 +39,7 @@ final class AuthSessionStore: ObservableObject, SessionStore {
|
|||||||
let clientID = FirebaseApp.app()?.options.clientID
|
let clientID = FirebaseApp.app()?.options.clientID
|
||||||
self.GIDconfig = GIDConfiguration(clientID: clientID!)
|
self.GIDconfig = GIDConfiguration(clientID: clientID!)
|
||||||
|
|
||||||
print(clientID)
|
print("the google client id: prolly shouldn't be printing this: \(clientID)")
|
||||||
|
|
||||||
self.setupAuthListen()
|
self.setupAuthListen()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ struct ContentView: View {
|
|||||||
case SessionState.isLoggedOut:
|
case SessionState.isLoggedOut:
|
||||||
WelcomeView()
|
WelcomeView()
|
||||||
}
|
}
|
||||||
}
|
}.animation(.default, value:authSessionStore.sessionState)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user