diff --git a/mastodon/src/main/java/org/joinmastodon/android/ui/utils/UiUtils.java b/mastodon/src/main/java/org/joinmastodon/android/ui/utils/UiUtils.java index f5962a209..b9d740282 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/utils/UiUtils.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/utils/UiUtils.java @@ -1073,6 +1073,12 @@ public class UiUtils { public static void enablePopupMenuIcons(Context context, PopupMenu menu) { Menu m = menu.getMenu(); + + // MOSHIDON disable menu icons on android 14 and higher because of InsetDrawables breaking + if (Build.VERSION.SDK_INT >= 34) { + return; + } + if (Build.VERSION.SDK_INT >= 29) { menu.setForceShowIcon(true); } else {