mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Simplification
This commit is contained in:
parent
35a4726338
commit
9fad7d3d19
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ import androidx.lifecycle.OnLifecycleEvent;
|
|||
public class PopupMenuLifecycle extends PopupMenu {
|
||||
|
||||
public PopupMenuLifecycle(@NonNull Context context, LifecycleOwner owner, @NonNull View anchor) {
|
||||
super(new ContextThemeWrapper(context, R.style.popupMenuStyle), anchor);
|
||||
super(context, anchor, Gravity.NO_GRAVITY, R.attr.popupMenuStyle, R.style.popupMenuStyle);
|
||||
Log.i("Instantiate " + this);
|
||||
|
||||
owner.getLifecycle().addObserver(new LifecycleObserver() {
|
||||
|
|
Loading…
Reference in a new issue