[+] Add refresh family button
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user