discord-jadx/app/src/main/java/com/discord/stores/StoreGifting$requestGift$2....

19 lines
709 B
Java

package com.discord.stores;
import com.discord.stores.StoreGifting;
import j0.k.b;
import java.util.Map;
/* compiled from: StoreGifting.kt */
public final class StoreGifting$requestGift$2<T, R> implements b<Map<String, ? extends StoreGifting.GiftState>, StoreGifting.GiftState> {
public final /* synthetic */ String $giftCode;
public StoreGifting$requestGift$2(String str) {
this.$giftCode = str;
}
public final StoreGifting.GiftState call(Map<String, ? extends StoreGifting.GiftState> map) {
StoreGifting.GiftState giftState = (StoreGifting.GiftState) map.get(this.$giftCode);
return giftState != null ? giftState : StoreGifting.GiftState.Loading.INSTANCE;
}
}