From ec65600153fb9ad4faf5df2049307ba601cb98e3 Mon Sep 17 00:00:00 2001 From: dankito Date: Mon, 31 Aug 2020 14:23:03 +0200 Subject: [PATCH] Replaced UIKitTextField by LabelledUIKitTextField --- ui/BankingiOSApp/BankingiOSApp/ui/views/EnterTanDialog.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/EnterTanDialog.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/EnterTanDialog.swift index da79fc0c..c2352081 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/EnterTanDialog.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/EnterTanDialog.swift @@ -105,7 +105,7 @@ struct EnterTanDialog: View { .padding(.vertical, 2) Section { - UIKitTextField("Enter TAN:", text: $enteredTan, keyboardType: tanChallenge.tanProcedure.isNumericTan ? .numberPad : .default, actionOnReturnKeyPress: { + LabelledUIKitTextField(label: "Enter TAN:", text: $enteredTan, keyboardType: tanChallenge.tanProcedure.isNumericTan ? .numberPad : .default, actionOnReturnKeyPress: { if self.isRequiredDataEntered() { self.enteringTanDone() return true