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

Commit 4c14f4b9 authored by Samuel Fufa's avatar Samuel Fufa
Browse files

Avoid double search item highlight

Change-Id: Ic2e28b18f6d5e3ed32cd5646bc3bb4789c378e57
parent 35879a3f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -152,6 +152,10 @@ public class PredictionRowView extends LinearLayout implements

    private void updateVisibility() {
        setVisibility(mPredictionsEnabled ? VISIBLE : GONE);
        if (FeatureFlags.ENABLE_DEVICE_SEARCH.get() && mLauncher.getAppsView() != null
                && mLauncher.getAppsView().getActiveRecyclerView() != null) {
            mLauncher.getAppsView().invalidate();
        }
    }

    @Override