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

Commit 5da65c68 authored by Stephen Hughes's avatar Stephen Hughes
Browse files

Fixes duplicate sorting dialog

Test: manual
Bug: 138952609
Change-Id: Ie7b13c9bd65049c62ad28fcca25b0f5408ebf41b
parent 738eb325
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();