From eadd77e047fadd65aa5ea53d3556c7dca84b69b7 Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 4 Aug 2020 00:55:28 +0200 Subject: [PATCH] Fixed that TAN media view only gets displayed if there are at least two TAN media --- 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 2407bb6e..149f43b4 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/EnterTanDialog.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/EnterTanDialog.swift @@ -73,7 +73,7 @@ struct EnterTanDialog: View { self.customersTanMedia = customer.tanMediaSorted - self.showSelectTanMediumView = true // TODO: use isOpticalTanProcedure && tanMedia.count > 1 + self.showSelectTanMediumView = self.customersTanMedia.count > 1 // TODO: use isOpticalTanProcedure && tanMedia.count > 1 self.showFlickerCodeTanView = tanChallenge is FlickerCodeTanChallenge self.showImageTanView = tanChallenge is ImageTanChallenge