diff --git a/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/views/ChipTanFlickerCodeView.kt b/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/views/ChipTanFlickerCodeView.kt index 07109780..2878154f 100644 --- a/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/views/ChipTanFlickerCodeView.kt +++ b/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/views/ChipTanFlickerCodeView.kt @@ -146,6 +146,14 @@ open class ChipTanFlickerCodeView @JvmOverloads constructor( } + open fun decreaseFrequency() { + if (currentFrequency - FrequencyStepSize >= MinFrequency) { + currentFrequency -= FrequencyStepSize + + setFrequency(currentFrequency) + } + } + open fun increaseFrequency() { if (currentFrequency + FrequencyStepSize <= MaxFrequency) { currentFrequency += FrequencyStepSize