From 202466a71fa594ae100ca7de8bab6862e5a11583 Mon Sep 17 00:00:00 2001 From: Severiano Jaramillo Date: Wed, 20 Feb 2019 17:18:50 -0600 Subject: [PATCH] Fix PatternView too big on small screens in PatternSecurityLockDialog. --- .../java/cy/agorise/bitsybitshareswallet/utils/Constants.kt | 2 +- app/src/main/res/layout/dialog_pattern_security_lock.xml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/cy/agorise/bitsybitshareswallet/utils/Constants.kt b/app/src/main/java/cy/agorise/bitsybitshareswallet/utils/Constants.kt index 8b28db5..25167e1 100644 --- a/app/src/main/java/cy/agorise/bitsybitshareswallet/utils/Constants.kt +++ b/app/src/main/java/cy/agorise/bitsybitshareswallet/utils/Constants.kt @@ -30,7 +30,7 @@ object Constants { /** Minimum time that the security lock options will be disabled when the user has incorrectly tried to enter * the current security lock option more than MAX_INCORRECT_SECURITY_LOCK_ATTEMPTS times */ - const val INCORRECT_SECURITY_LOCK_COOLDOWN = 5L * 60 * 1000 // 5 minutes + const val INCORRECT_SECURITY_LOCK_COOLDOWN = 5L * 1000 // 5 minutes /** Key used to store the consecutive number of times the user has incorrectly tried to enter the * current security lock option */ diff --git a/app/src/main/res/layout/dialog_pattern_security_lock.xml b/app/src/main/res/layout/dialog_pattern_security_lock.xml index ca70349..3ce9231 100644 --- a/app/src/main/res/layout/dialog_pattern_security_lock.xml +++ b/app/src/main/res/layout/dialog_pattern_security_lock.xml @@ -9,7 +9,6 @@ android:paddingBottom="@dimen/activity_vertical_margin" android:paddingStart="@dimen/activity_horizontal_margin" android:paddingEnd="@dimen/activity_horizontal_margin" - android:orientation="vertical" tools:context=".fragments.PINSecurityLockDialog">