Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99429d60 authored by Stephen Hughes's avatar Stephen Hughes Committed by Android (Google) Code Review
Browse files

Merge "Fixes duplicate sorting dialog"

parents 9b1c59f5 5da65c68
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -34,12 +34,14 @@ public class SortListFragment extends DialogFragment {
    private List<SortItem> mSortingList;

    public static void show(FragmentManager fm, SortModel model) {
        if (fm.findFragmentByTag(TAG_SORTING_LIST) == null) {
            SortListFragment fragment = new SortListFragment();
            Bundle args = new Bundle();
            args.putParcelable(TAG_MODEL, model);
            fragment.setArguments(args);
            fragment.show(fm, TAG_SORTING_LIST);
        }
    }

    public SortListFragment() {
        super();