fix(remote-info): remove null check
Fixes a regression introduced in 76867a971b
, that caused remote info to be permanently disabled
This commit is contained in:
parent
3939fc9795
commit
a7b51095fb
|
@ -45,8 +45,7 @@ public abstract class PaginatedAccountListFragment<T> extends BaseAccountListFra
|
|||
}
|
||||
|
||||
remoteDisabled = !GlobalUserPreferences.allowRemoteLoading
|
||||
|| getSession().domain.equals(getRemoteDomain())
|
||||
|| remoteInfoRequest == null;
|
||||
|| getSession().domain.equals(getRemoteDomain());
|
||||
if (!remoteDisabled) {
|
||||
remoteInfoRequest = loadRemoteInfo().setCallback(new Callback<>() {
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue