Skip to content

Commit

Permalink
fix(remote-info): remove null check
Browse files Browse the repository at this point in the history
Fixes a regression introduced  in 76867a9, that caused remote info to be permanently disabled
  • Loading branch information
FineFindus committed Mar 16, 2024
1 parent 3939fc9 commit a7b5109
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ public void onViewCreated(View view, Bundle savedInstanceState) {
}

remoteDisabled = !GlobalUserPreferences.allowRemoteLoading
|| getSession().domain.equals(getRemoteDomain())
|| remoteInfoRequest == null;
|| getSession().domain.equals(getRemoteDomain());
if (!remoteDisabled) {
remoteInfoRequest = loadRemoteInfo().setCallback(new Callback<>() {
@Override
Expand Down

0 comments on commit a7b5109

Please sign in to comment.