diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/tan/FlickerCanvas.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/tan/FlickerCodeStepsCalculator.kt similarity index 97% rename from fints4k/src/commonMain/kotlin/net/dankito/banking/fints/tan/FlickerCanvas.kt rename to fints4k/src/commonMain/kotlin/net/dankito/banking/fints/tan/FlickerCodeStepsCalculator.kt index 51ba7e58..0aad576f 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/tan/FlickerCanvas.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/tan/FlickerCodeStepsCalculator.kt @@ -1,7 +1,7 @@ package net.dankito.banking.fints.tan -open class FlickerCanvas(var code: String) { +open class FlickerCodeStepsCalculator(var code: String) { var halfbyteid = 0 var clock = Bit.High diff --git a/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/util/FlickerCodeAnimator.kt b/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/util/FlickerCodeAnimator.kt index 4375fe3f..987d7c81 100644 --- a/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/util/FlickerCodeAnimator.kt +++ b/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/util/FlickerCodeAnimator.kt @@ -3,9 +3,8 @@ package net.dankito.banking.ui.util import kotlinx.coroutines.* import net.dankito.banking.ui.model.tan.FlickerCode import net.dankito.banking.fints.tan.Bit -import net.dankito.banking.fints.tan.FlickerCanvas +import net.dankito.banking.fints.tan.FlickerCodeStepsCalculator import net.dankito.utils.multiplatform.log.LoggerFactory -import kotlin.jvm.JvmOverloads import kotlin.jvm.Volatile @@ -40,7 +39,7 @@ open class FlickerCodeAnimator { currentFrequency = frequency animationJob = GlobalScope.launch(Dispatchers.Default) { - val steps = FlickerCanvas(flickerCode.parsedDataSet).steps + val steps = FlickerCodeStepsCalculator(flickerCode.parsedDataSet).steps calculateAnimation(steps, showStep) }