From bf12075c6b6df092b4e2a31f2128d8dedb706ec6 Mon Sep 17 00:00:00 2001 From: Balazs Gerlei Date: Tue, 6 Aug 2024 16:17:38 +0200 Subject: [PATCH 1/2] NEVISACCESSAPP-6111: Set the reference to the cooldown timer to null when it finishes so the last (second) would correctly start --- .../ch/nevis/exampleapp/ui/credential/CredentialFragment.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/ch/nevis/exampleapp/ui/credential/CredentialFragment.kt b/app/src/main/java/ch/nevis/exampleapp/ui/credential/CredentialFragment.kt index 05c55c6..4c03524 100644 --- a/app/src/main/java/ch/nevis/exampleapp/ui/credential/CredentialFragment.kt +++ b/app/src/main/java/ch/nevis/exampleapp/ui/credential/CredentialFragment.kt @@ -1,7 +1,7 @@ /** * Nevis Mobile Authentication SDK Example App * - * Copyright © 2023. Nevis Security AG. All rights reserved. + * Copyright © 2023-2024. Nevis Security AG. All rights reserved. */ package ch.nevis.exampleapp.ui.credential @@ -232,6 +232,7 @@ class CredentialFragment : BaseFragment() { override fun onFinish() { setViewState(true) updateMessage(credentialType, remainingRetries, 0) + timer = null } }.start() } From d415af51e90ae7c03e8e47809f4948afc45de86d Mon Sep 17 00:00:00 2001 From: Balazs Gerlei Date: Tue, 6 Aug 2024 16:18:03 +0200 Subject: [PATCH 2/2] EVISACCESSAPP-6111: Small UI improvements --- app/src/main/res/layout/item_account.xml | 8 +++----- app/src/main/res/layout/item_authenticator.xml | 10 +++------- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/app/src/main/res/layout/item_account.xml b/app/src/main/res/layout/item_account.xml index d3c3b08..6cf0fdd 100644 --- a/app/src/main/res/layout/item_account.xml +++ b/app/src/main/res/layout/item_account.xml @@ -16,16 +16,14 @@ - \ No newline at end of file + diff --git a/app/src/main/res/layout/item_authenticator.xml b/app/src/main/res/layout/item_authenticator.xml index 4cfb76c..c0dbd2c 100644 --- a/app/src/main/res/layout/item_authenticator.xml +++ b/app/src/main/res/layout/item_authenticator.xml @@ -29,15 +29,14 @@ - \ No newline at end of file +