Fix bug where long press menu text is white on gray for dark backgrounds.
Bug: 69723025 Change-Id: Iba9704b3f07b2156d449734b8fd750f4238da8e7
This commit is contained in:
parent
af3a327779
commit
b1b2b45a69
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue