Hiding material you in older android versions fix

This commit is contained in:
LucasGGamerM 2022-12-17 21:00:02 -03:00
parent b054caa967
commit 020f4a5a1a
1 changed files with 0 additions and 1 deletions

View File

@ -727,7 +727,6 @@ public class SettingsFragment extends MastodonToolbarFragment{
});
// UiUtils.enablePopupMenuIcons(getActivity(), popupMenu);
popupMenu.getMenu().findItem(R.id.m3_color).setVisible(Build.VERSION.SDK_INT >= Build.VERSION_CODES.S);
popupMenu.setOnMenuItemClickListener(SettingsFragment.this::onColorPreferenceClick);
button.setOnTouchListener(popupMenu.getDragToOpenListener());
button.setOnClickListener(v->popupMenu.show());
}