Fix a crash when installation starts

This commit is contained in:
ArtDev 2023-07-02 13:56:15 +03:00 committed by GitHub
parent 0ce94cc2c5
commit 2a27439887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@ public abstract class ModVersionListFragment<T> extends Fragment implements Runn
setTaskProxy(null);
mExpandableListView.setEnabled(true);
// Read the comment in FabricInstallFragment.onDownloadFinished() to see how this works
getParentFragmentManager().popBackStack();
getParentFragmentManager().popBackStackImmediate();
onDownloadFinished(context, downloadedFile);
});
}