discord-jadx/app/src/main/java/c/a/e/b.java

31 lines
933 B
Java
Raw Normal View History

2021-07-24 02:37:17 +00:00
package c.a.e;
2021-08-03 07:33:18 +00:00
import android.view.MenuItem;
import androidx.appcompat.widget.Toolbar;
2021-07-24 02:37:17 +00:00
import rx.functions.Action1;
2021-08-03 07:33:18 +00:00
import rx.functions.Action2;
/* compiled from: AppActivity.kt */
public final class b implements Toolbar.OnMenuItemClickListener {
public final /* synthetic */ Toolbar a;
public final /* synthetic */ Action2 b;
/* renamed from: c reason: collision with root package name */
2021-08-10 10:47:20 +00:00
public final /* synthetic */ Action1 f45c;
2021-08-03 07:33:18 +00:00
public b(Toolbar toolbar, int i, Action2 action2, Action1 action1) {
this.a = toolbar;
this.b = action2;
2021-08-10 10:47:20 +00:00
this.f45c = action1;
2021-08-03 07:33:18 +00:00
}
@Override // androidx.appcompat.widget.Toolbar.OnMenuItemClickListener
public final boolean onMenuItemClick(MenuItem menuItem) {
Action2 action2 = this.b;
if (action2 == null) {
return true;
2021-07-24 02:37:17 +00:00
}
2021-08-03 07:33:18 +00:00
action2.call(menuItem, this.a.getContext());
return true;
2021-07-24 02:37:17 +00:00
}
}