mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-10 11:03:41 +02:00
Switched to app bar
This commit is contained in:
@@ -1873,7 +1873,9 @@ public class FragmentCompose extends FragmentBase {
|
||||
final Context context = getContext();
|
||||
PopupMenuLifecycle.insertIcons(context, menu, false);
|
||||
|
||||
LayoutInflater infl = LayoutInflater.from(context);
|
||||
ActionBar actionBar = getSupportActionBar();
|
||||
Context actionBarContext = (actionBar == null ? context : actionBar.getThemedContext());
|
||||
LayoutInflater infl = LayoutInflater.from(actionBarContext);
|
||||
|
||||
ImageButton ibOpenAi = (ImageButton) infl.inflate(R.layout.action_button, null);
|
||||
ibOpenAi.setId(View.generateViewId());
|
||||
|
||||
Reference in New Issue
Block a user