Fixed filtering chipTAN USB as this TAN procedure is not supported on iOS
This commit is contained in:
parent
70b8a8b84c
commit
62f56977f9
|
@ -24,6 +24,7 @@ struct AccountsTab: View {
|
|||
NavigationLink(destination: AddAccountDialog()) {
|
||||
Text("Add account")
|
||||
}
|
||||
.padding()
|
||||
|
||||
Spacer()
|
||||
}
|
||||
|
|
|
@ -37,7 +37,8 @@ struct EnterTanDialog: View {
|
|||
self.tanChallenge = state.tanChallenge
|
||||
self.customer = state.customer
|
||||
|
||||
self.customersTanProcdures = customer.supportedTanProcedures
|
||||
self.customersTanProcedures = customer.supportedTanProcedures.filter( {$0.type != .chiptanusb } ) // USB tan generators are not supported on iOS
|
||||
|
||||
_selectedTanProcedureIndex = State(initialValue: customer.supportedTanProcedures.firstIndex(of: tanChallenge.tanProcedure) ?? 0)
|
||||
|
||||
self.customersTanMedia = customer.tanMediaSorted
|
||||
|
|
Loading…
Reference in New Issue