full refresh when the app comes out of background
This commit is contained in:
parent
7c4832c82d
commit
25609695e5
@ -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) {
|
||||
|
@ -75,6 +75,7 @@ struct LoginScreen: View {
|
||||
}
|
||||
.buttonStyle(.bordered)
|
||||
.padding(.trailing, 20.0)
|
||||
|
||||
Button(action: {
|
||||
|
||||
screenMode = .Register
|
||||
|
Loading…
Reference in New Issue
Block a user