2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.tos;
|
|
|
|
|
|
|
|
import android.content.Context;
|
|
|
|
import android.view.MenuItem;
|
|
|
|
import com.discord.stores.StoreStream;
|
|
|
|
import d0.z.d.m;
|
|
|
|
import rx.functions.Action2;
|
|
|
|
/* compiled from: WidgetTosAccept.kt */
|
|
|
|
public final class WidgetTosAccept$onViewBound$2<T1, T2> implements Action2<MenuItem, Context> {
|
|
|
|
public static final WidgetTosAccept$onViewBound$2 INSTANCE = new WidgetTosAccept$onViewBound$2();
|
|
|
|
|
|
|
|
public final void call(MenuItem menuItem, Context context) {
|
|
|
|
m.checkNotNullExpressionValue(menuItem, "menuItem");
|
2021-08-04 23:47:20 +00:00
|
|
|
if (menuItem.getItemId() == 2131364118) {
|
2021-08-03 07:33:18 +00:00
|
|
|
StoreStream.Companion.getAuthentication().logout();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|