Fixed bug with long authentication (changed timer delay)

This commit is contained in:
ChronosX88 2019-05-26 21:24:19 +04:00
parent c1540c1b1d
commit 0e63f4ca40

View File

@ -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)