35 lines
1.5 KiB
Java
35 lines
1.5 KiB
Java
package com.discord.stores;
|
|
|
|
import com.discord.models.domain.ModelLocationMetadata;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: StoreAuthentication.kt */
|
|
public final class StoreAuthentication$requestConsentRequired$1 extends o implements Function1<ModelLocationMetadata, Unit> {
|
|
public final /* synthetic */ StoreAuthentication this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public StoreAuthentication$requestConsentRequired$1(StoreAuthentication storeAuthentication) {
|
|
super(1);
|
|
this.this$0 = storeAuthentication;
|
|
}
|
|
|
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Unit invoke(ModelLocationMetadata modelLocationMetadata) {
|
|
invoke(modelLocationMetadata);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(ModelLocationMetadata modelLocationMetadata) {
|
|
m.checkNotNullParameter(modelLocationMetadata, "it");
|
|
StoreAuthentication.access$setConsentRequired$p(this.this$0, modelLocationMetadata.getConsentRequired());
|
|
String countryCode = modelLocationMetadata.getCountryCode();
|
|
if (countryCode != null) {
|
|
StoreStream.Companion.getPhone().updateDefaultCountryCode(countryCode);
|
|
}
|
|
}
|
|
}
|