From 550b0356fbb729486fead059560401794fd5ad64 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Mon, 25 Jan 2021 16:13:54 -0500 Subject: [PATCH] [+] Reload view after leaving/deleting a family --- ProjectClock/AccountViewController.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ProjectClock/AccountViewController.swift b/ProjectClock/AccountViewController.swift index c3e649b..3223355 100644 --- a/ProjectClock/AccountViewController.swift +++ b/ProjectClock/AccountViewController.swift @@ -285,6 +285,10 @@ class FamilyVC: UIViewController if i == 0 || i == 1 { localStorage.removeObject(forKey: "family") } self.msg("\(action) Success!", msg) + { + self.viewDidLoad() + AccountViewController.this.login() + } } } }