From 6aa7694ed6d2b4e767deecb4d9807ea87ee08a62 Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 3 Nov 2021 00:52:37 +0100 Subject: [PATCH] Fixed determining if it's a numeric TAN --- .../kotlin/net/dankito/banking/ui/model/tan/TanMethod.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/tan/TanMethod.kt b/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/tan/TanMethod.kt index 87e4f8dd..5d960630 100644 --- a/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/tan/TanMethod.kt +++ b/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/tan/TanMethod.kt @@ -22,8 +22,8 @@ open class TanMethod( internal constructor() : this("", TanMethodType.EnterTan, "") // for object deserializers - @Transient - open val isNumericTan: Boolean = allowedTanFormat == AllowedTanFormat.Numeric + open val isNumericTan: Boolean + get() = allowedTanFormat == AllowedTanFormat.Numeric open var technicalId: String = UUID.random()