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

Commit 47e8ed85 authored by Chris Poultney's avatar Chris Poultney
Browse files

Update app grid options after changing grid

Forces a reload of grid options after setting so that the new options
are cached for next time the picker is launched.

Fixes: 274929417
Test: manually verified that new choice is shown selected
Change-Id: Ib21767a434891fba79b4c691ec488df9b861d73b
parent 47b727ec
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -82,6 +82,7 @@ public class GridFragment extends AppbarFragment {
    private final Callback mApplyGridCallback = new Callback() {
        @Override
        public void onSuccess() {
            mGridManager.fetchOptions(unused -> {}, true);
            Toast.makeText(getContext(), R.string.applied_grid_msg, Toast.LENGTH_SHORT).show();
            getActivity().overridePendingTransition(R.anim.fade_in, R.anim.fade_out);
            getActivity().finish();