full refresh when the app comes out of background

This commit is contained in:
Andy Pack 2023-01-11 17:15:42 +00:00
parent 7c4832c82d
commit 25609695e5
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7
2 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
func sceneWillEnterForeground(_ scene: UIScene) {
// Called as the scene transitions from the background to the foreground.
// Use this method to undo the changes made on entering the background.
liveUser?.full_refresh()
}
func sceneDidEnterBackground(_ scene: UIScene) {

View File

@ -75,6 +75,7 @@ struct LoginScreen: View {
}
.buttonStyle(.bordered)
.padding(.trailing, 20.0)
Button(action: {
screenMode = .Register