Fixed that TAN media view only gets displayed if there are at least two TAN media

This commit is contained in:
dankito 2020-08-04 00:55:28 +02:00
parent 8f15bd25b3
commit eadd77e047
1 changed files with 1 additions and 1 deletions

View File

@ -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