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:
FineFindus 2024-03-17 00:29:33 +01:00
parent 3939fc9795
commit a7b51095fb
No known key found for this signature in database
GPG Key ID: 64873EE210FF8E6B
1 changed files with 1 additions and 2 deletions

View File

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