[+] Add refresh family button

This commit is contained in:
Hykilpikonna
2021-01-25 16:38:01 -05:00
parent dcd94fc25c
commit f1b8b794d3
2 changed files with 13 additions and 1 deletions
+12
View File
@@ -255,6 +255,18 @@ class FamilyVC: UIViewController
}
}
/**
Called when the user clicks the refresh button
*/
@IBAction func btnRefresh(_ sender: Any)
{
sendReq(APIs.familyGet, title: "Updating family...")
{
$0.localSave()
self.table.reloadData()
}
}
/**
Called when the user clicks the change pin button
*/