Commit 3678835c authored by Tiago Cunha's avatar Tiago Cunha

A little better?

parent 2b2f7499
...@@ -35,10 +35,10 @@ public class LoginPresenter extends BasePresenter<LoginContract.View> ...@@ -35,10 +35,10 @@ public class LoginPresenter extends BasePresenter<LoginContract.View>
return; return;
} }
loadDefaultSession(); loadSessionState();
} }
private void loadDefaultSession() { private void loadSessionState() {
final Subscription subscription = sessionInteractor.getSessionState() final Subscription subscription = sessionInteractor.getSessionState()
.distinctUntilChanged() .distinctUntilChanged()
.subscribeOn(AndroidSchedulers.from(BackgroundLooper.get())) .subscribeOn(AndroidSchedulers.from(BackgroundLooper.get()))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment