[+] Automatically change the family id input to number pad

This commit is contained in:
Hykilpikonna
2021-01-25 16:03:43 -05:00
parent 6ecf5f91d9
commit 782ebe8200
2 changed files with 3 additions and 7 deletions
+1
View File
@@ -314,6 +314,7 @@ class FamilyCreateJoinVC: UIViewController
// Set UI according to createMode
lFamilyNameOrId.text = createMode ? "Family Name" : "Family ID"
bCreateJoin.setTitle(createMode ? "Create" : "Join", for: .normal)
tNameOrId.keyboardType = createMode ? .default : .numberPad
// Default name
if createMode