mirror of
https://github.com/ChronosX88/Influence.git
synced 2024-11-23 18:12:18 +00:00
Fixed bug with long authentication (changed timer delay)
This commit is contained in:
parent
c1540c1b1d
commit
0e63f4ca40
@ -171,11 +171,8 @@ public class LoginActivity extends AppCompatActivity implements CoreContracts.IL
|
|||||||
} else {
|
} else {
|
||||||
EventBus.getDefault().post(new AuthenticationStatusEvent(AuthenticationStatusEvent.NETWORK_ERROR));
|
EventBus.getDefault().post(new AuthenticationStatusEvent(AuthenticationStatusEvent.NETWORK_ERROR));
|
||||||
}
|
}
|
||||||
timer.cancel();
|
|
||||||
timer.purge();
|
|
||||||
timer = new Timer();
|
|
||||||
}
|
}
|
||||||
}, 10000);
|
}, 6000);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||||
|
Loading…
Reference in New Issue
Block a user