From a4819ecd22a226d9c690d1a4ae9961f3d2a91bad Mon Sep 17 00:00:00 2001 From: dtvv Date: Fri, 5 Oct 2018 03:22:25 -0500 Subject: [PATCH] When user sets a PIN and try to enter to settings after that and crystal is asking for the PIN and the user enter it correctly, the screen does not disapear --- .../crystalwallet/activities/PatternRequestActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/cy/agorise/crystalwallet/activities/PatternRequestActivity.java b/app/src/main/java/cy/agorise/crystalwallet/activities/PatternRequestActivity.java index 0ecb4f8..b4334dd 100644 --- a/app/src/main/java/cy/agorise/crystalwallet/activities/PatternRequestActivity.java +++ b/app/src/main/java/cy/agorise/crystalwallet/activities/PatternRequestActivity.java @@ -71,7 +71,8 @@ public class PatternRequestActivity extends AppCompatActivity { public void onComplete(List pattern) { if (PasswordManager.checkPassword(patternEncrypted,patternToString(pattern))){ if (CrystalSecurityMonitor.getInstance(null).is2ndFactorSet()) { - CrystalSecurityMonitor.getInstance(null).call2ndFactor(thisActivity); + //CrystalSecurityMonitor.getInstance(null).call2ndFactor(thisActivity); + thisActivity.finish(); } else { thisActivity.finish(); }