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

Commit 1a1cb079 authored by nicolasroard's avatar nicolasroard
Browse files

Fix crash and missing content

Change-Id: I477599491921fc4319834f32d5806cdc165679e6
parent 0786afd7
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -231,7 +231,6 @@ public class FilterShowActivity extends FragmentActivity implements OnItemClickL
        ImageFilter.setActivityForMemoryToasts(this);
        mUserPresetsManager = new UserPresetsManager(this);
        mUserPresetsAdapter = new UserPresetsAdapter(this);
        mCategoryLooksAdapter = new CategoryAdapter(this);
    }

    public void updateUIAfterServiceStarted() {
@@ -1004,7 +1003,7 @@ public class FilterShowActivity extends FragmentActivity implements OnItemClickL
        FiltersManager filtersManager = FiltersManager.getManager();
        ArrayList<FilterRepresentation> filtersRepresentations = filtersManager.getLooks();

        mCategoryLooksAdapter.clear();
        mCategoryLooksAdapter = new CategoryAdapter(this);
        int verticalItemHeight = (int) getResources().getDimension(R.dimen.action_item_height);
        mCategoryLooksAdapter.setItemHeight(verticalItemHeight);
        for (FilterRepresentation representation : filtersRepresentations) {
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ public class StatePanel extends Fragment {
        mToggleVersionsPanel = (ImageButton) mMainView.findViewById(R.id.toggleVersionsPanel);
        if (mMainPanel != null) {
            mMainPanel.setToggleVersionsPanelButton(mToggleVersionsPanel);
        } else {
        } else if (mToggleVersionsPanel != null) {
            mToggleVersionsPanel.setVisibility(View.GONE);
        }
        return mMainView;