Skip to content

Commit

Permalink
Correct type for context
Browse files Browse the repository at this point in the history
  • Loading branch information
validcube committed Jan 30, 2024
1 parent 7ab6ca8 commit bd6ff35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ public static PopupContainerWithArrow<Launcher> showForIcon(BubbleTextView icon)
.map(s -> s.getShortcut(launcher, item, icon))
.filter(Objects::nonNull)
.collect(Collectors.toList());
if (FeatureFlags.showMaterialUPopup(launcher)) {
if (FeatureFlags.showMaterialUPopup(icon.getContext())) {
container = (PopupContainerWithArrow) launcher.getLayoutInflater().inflate(
R.layout.popup_container_material_u, launcher.getDragLayer(), false);
container.configureForLauncher(launcher);
Expand Down

0 comments on commit bd6ff35

Please sign in to comment.