mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 07:39:00 -04:00
Don't use line references in comments
This commit is contained in:
parent
4aec0d538a
commit
779cd9d2d8
@ -117,7 +117,7 @@ public abstract class ModVersionListFragment<T> extends Fragment implements Runn
|
||||
getTaskProxy().detachListener();
|
||||
setTaskProxy(null);
|
||||
mExpandableListView.setEnabled(true);
|
||||
// Read FabricInstallFragment line 132-137 to see why
|
||||
// Read the comment in FabricInstallFragment.onDownloadFinished() to see how this works
|
||||
getParentFragmentManager().popBackStack();
|
||||
onDownloadFinished(context, downloadedFile);
|
||||
});
|
||||
|
@ -22,8 +22,9 @@ public class ProfileTypeSelectFragment extends Fragment {
|
||||
view.findViewById(R.id.vanilla_profile).setOnClickListener(v -> Tools.swapFragment(requireActivity(), ProfileEditorFragment.class,
|
||||
ProfileEditorFragment.TAG, false, new Bundle(1)));
|
||||
|
||||
// NOTE: Special care needed! If you wll decide to add these to the back stack, please read FabricInstallFragment line 132-137
|
||||
// and amend FabricInstallFragment line 138 and ModVersionListFragment line 121
|
||||
// NOTE: Special care needed! If you wll decide to add these to the back stack, please read
|
||||
// the comment in FabricInstallFragment.onDownloadFinished() and amend the code
|
||||
// in FabricInstallFragment.onDownloadFinished() and ModVersionListFragment.onDownloadFinished()
|
||||
view.findViewById(R.id.optifine_profile).setOnClickListener(v -> Tools.swapFragment(requireActivity(), OptiFineInstallFragment.class,
|
||||
OptiFineInstallFragment.TAG, false, null));
|
||||
view.findViewById(R.id.modded_profile_fabric).setOnClickListener((v)->
|
||||
|
Loading…
x
Reference in New Issue
Block a user