From 0e63f4ca4030f37f4c43674ddeae554a952e579f Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Sun, 26 May 2019 21:24:19 +0400 Subject: [PATCH] Fixed bug with long authentication (changed timer delay) --- .../io/github/chronosx88/influence/views/LoginActivity.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/src/main/java/io/github/chronosx88/influence/views/LoginActivity.java b/app/src/main/java/io/github/chronosx88/influence/views/LoginActivity.java index 8990844..8a2d8e2 100644 --- a/app/src/main/java/io/github/chronosx88/influence/views/LoginActivity.java +++ b/app/src/main/java/io/github/chronosx88/influence/views/LoginActivity.java @@ -171,11 +171,8 @@ public class LoginActivity extends AppCompatActivity implements CoreContracts.IL } else { EventBus.getDefault().post(new AuthenticationStatusEvent(AuthenticationStatusEvent.NETWORK_ERROR)); } - timer.cancel(); - timer.purge(); - timer = new Timer(); } - }, 10000); + }, 6000); } @Subscribe(threadMode = ThreadMode.MAIN)