2021-06-27 20:44:35 +00:00
|
|
|
package defpackage;
|
|
|
|
|
|
|
|
import android.view.View;
|
2021-08-10 21:50:53 +00:00
|
|
|
import c.a.a.z.c;
|
2021-06-27 20:44:35 +00:00
|
|
|
import com.discord.stores.StoreGifting;
|
|
|
|
import com.discord.stores.StoreStream;
|
|
|
|
/* compiled from: java-style lambda group */
|
|
|
|
/* renamed from: f reason: default package */
|
|
|
|
public final class f implements View.OnClickListener {
|
|
|
|
public final /* synthetic */ int i;
|
|
|
|
public final /* synthetic */ Object j;
|
|
|
|
|
|
|
|
public f(int i, Object obj) {
|
|
|
|
this.i = i;
|
|
|
|
this.j = obj;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // android.view.View.OnClickListener
|
|
|
|
public final void onClick(View view) {
|
|
|
|
int i = this.i;
|
|
|
|
if (i == 0) {
|
|
|
|
StoreStream.Companion.getGifting().acceptGift(((StoreGifting.GiftState.RedeemedFailed) this.j).getGift());
|
|
|
|
} else if (i == 1) {
|
|
|
|
((c) this.j).dismiss();
|
|
|
|
} else {
|
|
|
|
throw null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|