From 75c3a6fe23d85239d173583907d60da3113f62c9 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sun, 24 Jan 2021 20:32:45 -0500 Subject: [PATCH] [+] Create changePin function --- ProjectClock/AccountViewController.swift | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ProjectClock/AccountViewController.swift b/ProjectClock/AccountViewController.swift index b215dd1..23b4960 100644 --- a/ProjectClock/AccountViewController.swift +++ b/ProjectClock/AccountViewController.swift @@ -241,6 +241,17 @@ class FamilyVC: UIViewController familyView.isHidden = true } } + + /** + Called when the user clicks the change pin button + */ + @IBAction func btnChangePin(_ sender: Any) + { + enterPin("Change Pin", "Enter your OLD pin:") + { + print($0) + } + } } /**