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

Commit 0c2d9b0f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix bug where long press menu text is white on gray for dark...

Merge "Fix bug where long press menu text is white on gray for dark backgrounds." into ub-launcher3-master
parents 12b4c4ba b1b2b45a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -45,7 +45,9 @@ public class UiFactory {
    }

    public static void onWorkspaceLongPress(Launcher launcher) {
        PopupMenu menu = new PopupMenu(launcher, launcher.getWorkspace().getPageIndicator());
        PopupMenu menu = new PopupMenu(launcher.getApplicationContext(),
                launcher.getWorkspace().getPageIndicator());

        menu.getMenu().add(R.string.wallpaper_button_text).setOnMenuItemClickListener((i) -> {
            launcher.onClickWallpaperPicker(null);
            return true;