Fixed that for non optical TAN procedures entering TAN options haven't been set
This commit is contained in:
parent
bb0a2f9713
commit
2b0a1e9e14
|
@ -86,11 +86,9 @@ open class EnterTanDialog : DialogFragment() {
|
||||||
|
|
||||||
setupTanView(rootView)
|
setupTanView(rootView)
|
||||||
|
|
||||||
rootView.txtvwCollapsibleText.text = tanChallenge.messageToShowToUser.getSpannedFromHtml()
|
setupEnteringTan(rootView)
|
||||||
|
|
||||||
if (tanChallenge.tanProcedure.allowedTanFormat == AllowedTanFormat.Numeric) {
|
rootView.txtvwCollapsibleText.text = tanChallenge.messageToShowToUser.getSpannedFromHtml()
|
||||||
rootView.edtxtEnteredTan.inputType = InputType.TYPE_CLASS_NUMBER
|
|
||||||
}
|
|
||||||
|
|
||||||
rootView.btnCancel.setOnClickListener { enteringTanDone(null) }
|
rootView.btnCancel.setOnClickListener { enteringTanDone(null) }
|
||||||
|
|
||||||
|
@ -156,8 +154,10 @@ open class EnterTanDialog : DialogFragment() {
|
||||||
else if (tanChallenge is ImageTanChallenge) {
|
else if (tanChallenge is ImageTanChallenge) {
|
||||||
setupImageTanView(rootView)
|
setupImageTanView(rootView)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected open fun setupEnteringTan(rootView: View) {
|
||||||
if (tanChallenge.tanProcedure.isNumericTan) {
|
if (tanChallenge.tanProcedure.isNumericTan) {
|
||||||
rootView.edtxtEnteredTan.inputType = InputType.TYPE_CLASS_NUMBER
|
rootView.edtxtEnteredTan.inputType = InputType.TYPE_CLASS_NUMBER
|
||||||
}
|
}
|
||||||
|
@ -174,7 +174,6 @@ open class EnterTanDialog : DialogFragment() {
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
protected open fun setupFlickerCodeTanView(rootView: View) {
|
protected open fun setupFlickerCodeTanView(rootView: View) {
|
||||||
val flickerCodeView = rootView.flickerCodeView
|
val flickerCodeView = rootView.flickerCodeView
|
||||||
|
|
Loading…
Reference in New Issue