Implemented removing entered white spaces
This commit is contained in:
parent
3c56f28efe
commit
ea96818d60
|
@ -14,7 +14,7 @@ open class EnterTanResult protected constructor(
|
||||||
companion object {
|
companion object {
|
||||||
|
|
||||||
fun userEnteredTan(enteredTan: String): EnterTanResult {
|
fun userEnteredTan(enteredTan: String): EnterTanResult {
|
||||||
return EnterTanResult(enteredTan)
|
return EnterTanResult(enteredTan.replace(" ", ""))
|
||||||
}
|
}
|
||||||
|
|
||||||
fun userDidNotEnterTan(): EnterTanResult {
|
fun userDidNotEnterTan(): EnterTanResult {
|
||||||
|
|
|
@ -13,7 +13,7 @@ open class EnterTanResult protected constructor(
|
||||||
companion object {
|
companion object {
|
||||||
|
|
||||||
fun userEnteredTan(enteredTan: String): EnterTanResult {
|
fun userEnteredTan(enteredTan: String): EnterTanResult {
|
||||||
return EnterTanResult(enteredTan)
|
return EnterTanResult(enteredTan.replace(" ", ""))
|
||||||
}
|
}
|
||||||
|
|
||||||
fun userDidNotEnterTan(): EnterTanResult {
|
fun userDidNotEnterTan(): EnterTanResult {
|
||||||
|
|
Loading…
Reference in New Issue