Initial version -- added millennium read funcionality
This commit is contained in:
+173
@@ -0,0 +1,173 @@
|
||||
package com.sistemasolton.itranvias.home.presentation.utils;
|
||||
|
||||
import androidx.compose.foundation.BackgroundKt;
|
||||
import androidx.compose.foundation.layout.Arrangement;
|
||||
import androidx.compose.foundation.layout.BoxKt;
|
||||
import androidx.compose.foundation.layout.BoxScopeInstance;
|
||||
import androidx.compose.foundation.layout.ColumnKt;
|
||||
import androidx.compose.foundation.layout.ColumnScopeInstance;
|
||||
import androidx.compose.foundation.layout.PaddingKt;
|
||||
import androidx.compose.foundation.layout.SizeKt;
|
||||
import androidx.compose.foundation.layout.SpacerKt;
|
||||
import androidx.compose.foundation.shape.RoundedCornerShapeKt;
|
||||
import androidx.compose.material3.MaterialTheme;
|
||||
import androidx.compose.material3.ProgressIndicatorKt;
|
||||
import androidx.compose.material3.TextKt;
|
||||
import androidx.compose.runtime.Applier;
|
||||
import androidx.compose.runtime.ComposablesKt;
|
||||
import androidx.compose.runtime.Composer;
|
||||
import androidx.compose.runtime.ComposerKt;
|
||||
import androidx.compose.runtime.CompositionLocalMap;
|
||||
import androidx.compose.runtime.Updater;
|
||||
import androidx.compose.ui.Alignment;
|
||||
import androidx.compose.ui.ComposedModifierKt;
|
||||
import androidx.compose.ui.Modifier;
|
||||
import androidx.compose.ui.layout.MeasurePolicy;
|
||||
import androidx.compose.ui.node.ComposeUiNode;
|
||||
import androidx.compose.ui.semantics.SemanticsModifierKt;
|
||||
import androidx.compose.ui.semantics.SemanticsPropertiesKt;
|
||||
import androidx.compose.ui.semantics.SemanticsPropertyReceiver;
|
||||
import androidx.compose.ui.text.TextLayoutResult;
|
||||
import androidx.compose.ui.text.TextStyle;
|
||||
import androidx.compose.ui.text.font.FontFamily;
|
||||
import androidx.compose.ui.text.font.FontStyle;
|
||||
import androidx.compose.ui.text.font.FontWeight;
|
||||
import androidx.compose.ui.text.style.TextAlign;
|
||||
import androidx.compose.ui.text.style.TextDecoration;
|
||||
import androidx.compose.ui.unit.Dp;
|
||||
import com.sistemasolton.itranvias.ui.theme.ColorKt;
|
||||
import itranvias.composeapp.generated.resources.Res;
|
||||
import itranvias.composeapp.generated.resources.String0_commonMainKt;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import org.jetbrains.compose.resources.StringResourcesKt;
|
||||
|
||||
/* JADX INFO: renamed from: com.sistemasolton.itranvias.home.presentation.utils.ComposableSingletons$UtilsScreenKt$lambda$-135928193$1, reason: invalid class name */
|
||||
/* JADX INFO: compiled from: UtilsScreen.kt */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@Metadata(k = 3, mv = {2, 1, 0}, xi = 48)
|
||||
final class ComposableSingletons$UtilsScreenKt$lambda$135928193$1 implements Function2<Composer, Integer, Unit> {
|
||||
public static final ComposableSingletons$UtilsScreenKt$lambda$135928193$1 INSTANCE = new ComposableSingletons$UtilsScreenKt$lambda$135928193$1();
|
||||
|
||||
ComposableSingletons$UtilsScreenKt$lambda$135928193$1() {
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public /* bridge */ /* synthetic */ Unit invoke(Composer composer, Integer num) {
|
||||
invoke(composer, num.intValue());
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Unit invoke$lambda$1$lambda$0(SemanticsPropertyReceiver semantics) {
|
||||
Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
|
||||
SemanticsPropertiesKt.setContentDescription(semantics, "Cambiando idioma de la aplicación. Por favor espera.");
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
public final void invoke(Composer composer, int i) {
|
||||
if ((i & 3) == 2 && composer.getSkipping()) {
|
||||
composer.skipToGroupEnd();
|
||||
return;
|
||||
}
|
||||
if (ComposerKt.isTraceInProgress()) {
|
||||
ComposerKt.traceEventStart(-135928193, i, -1, "com.sistemasolton.itranvias.home.presentation.utils.ComposableSingletons$UtilsScreenKt.lambda$-135928193.<anonymous> (UtilsScreen.kt:475)");
|
||||
}
|
||||
float f = 12;
|
||||
float f2 = 16;
|
||||
Modifier modifierM832padding3ABfNKs = PaddingKt.m832padding3ABfNKs(BackgroundKt.m256backgroundbw27NRU(Modifier.INSTANCE, MaterialTheme.INSTANCE.getColorScheme(composer, MaterialTheme.$stable).getTertiary(), RoundedCornerShapeKt.m1197RoundedCornerShape0680j_4(Dp.m7215constructorimpl(f))), Dp.m7215constructorimpl(f2));
|
||||
composer.startReplaceGroup(1849434622);
|
||||
Object objRememberedValue = composer.rememberedValue();
|
||||
if (objRememberedValue == Composer.INSTANCE.getEmpty()) {
|
||||
objRememberedValue = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.utils.ComposableSingletons$UtilsScreenKt$lambda$-135928193$1$$ExternalSyntheticLambda0
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public final Object invoke(Object obj) {
|
||||
return ComposableSingletons$UtilsScreenKt$lambda$135928193$1.invoke$lambda$1$lambda$0((SemanticsPropertyReceiver) obj);
|
||||
}
|
||||
};
|
||||
composer.updateRememberedValue(objRememberedValue);
|
||||
}
|
||||
composer.endReplaceGroup();
|
||||
Modifier modifierSemantics$default = SemanticsModifierKt.semantics$default(modifierM832padding3ABfNKs, false, (Function1) objRememberedValue, 1, null);
|
||||
ComposerKt.sourceInformationMarkerStart(composer, 1042775818, "CC(Box)N(modifier,contentAlignment,propagateMinConstraints,content)71@3424L131:Box.kt#2w3rfo");
|
||||
MeasurePolicy measurePolicyMaybeCachedBoxMeasurePolicy = BoxKt.maybeCachedBoxMeasurePolicy(Alignment.INSTANCE.getTopStart(), false);
|
||||
ComposerKt.sourceInformationMarkerStart(composer, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
|
||||
int iHashCode = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer, 0));
|
||||
CompositionLocalMap currentCompositionLocalMap = composer.getCurrentCompositionLocalMap();
|
||||
Modifier modifierMaterializeModifier = ComposedModifierKt.materializeModifier(composer, modifierSemantics$default);
|
||||
Function0<ComposeUiNode> constructor = ComposeUiNode.INSTANCE.getConstructor();
|
||||
ComposerKt.sourceInformationMarkerStart(composer, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
|
||||
if (!(composer.getApplier() instanceof Applier)) {
|
||||
ComposablesKt.invalidApplier();
|
||||
}
|
||||
composer.startReusableNode();
|
||||
if (composer.getInserting()) {
|
||||
composer.createNode(constructor);
|
||||
} else {
|
||||
composer.useNode();
|
||||
}
|
||||
Composer composerM3820constructorimpl = Updater.m3820constructorimpl(composer);
|
||||
Updater.m3827setimpl(composerM3820constructorimpl, measurePolicyMaybeCachedBoxMeasurePolicy, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
|
||||
Updater.m3827setimpl(composerM3820constructorimpl, currentCompositionLocalMap, ComposeUiNode.INSTANCE.getSetResolvedCompositionLocals());
|
||||
Function2<ComposeUiNode, Integer, Unit> setCompositeKeyHash = ComposeUiNode.INSTANCE.getSetCompositeKeyHash();
|
||||
if (composerM3820constructorimpl.getInserting() || !Intrinsics.areEqual(composerM3820constructorimpl.rememberedValue(), Integer.valueOf(iHashCode))) {
|
||||
composerM3820constructorimpl.updateRememberedValue(Integer.valueOf(iHashCode));
|
||||
composerM3820constructorimpl.apply(Integer.valueOf(iHashCode), setCompositeKeyHash);
|
||||
}
|
||||
Updater.m3827setimpl(composerM3820constructorimpl, modifierMaterializeModifier, ComposeUiNode.INSTANCE.getSetModifier());
|
||||
ComposerKt.sourceInformationMarkerStart(composer, 1833054614, "C72@3469L9:Box.kt#2w3rfo");
|
||||
BoxScopeInstance boxScopeInstance = BoxScopeInstance.INSTANCE;
|
||||
Modifier modifierFillMaxWidth$default = SizeKt.fillMaxWidth$default(PaddingKt.m832padding3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(f2)), 0.0f, 1, null);
|
||||
Alignment.Horizontal centerHorizontally = Alignment.INSTANCE.getCenterHorizontally();
|
||||
ComposerKt.sourceInformationMarkerStart(composer, 1341605231, "CC(Column)N(modifier,verticalArrangement,horizontalAlignment,content)87@4443L61,88@4509L134:Column.kt#2w3rfo");
|
||||
MeasurePolicy measurePolicyColumnMeasurePolicy = ColumnKt.columnMeasurePolicy(Arrangement.INSTANCE.getTop(), centerHorizontally, composer, 48);
|
||||
ComposerKt.sourceInformationMarkerStart(composer, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
|
||||
int iHashCode2 = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer, 0));
|
||||
CompositionLocalMap currentCompositionLocalMap2 = composer.getCurrentCompositionLocalMap();
|
||||
Modifier modifierMaterializeModifier2 = ComposedModifierKt.materializeModifier(composer, modifierFillMaxWidth$default);
|
||||
Function0<ComposeUiNode> constructor2 = ComposeUiNode.INSTANCE.getConstructor();
|
||||
ComposerKt.sourceInformationMarkerStart(composer, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
|
||||
if (!(composer.getApplier() instanceof Applier)) {
|
||||
ComposablesKt.invalidApplier();
|
||||
}
|
||||
composer.startReusableNode();
|
||||
if (composer.getInserting()) {
|
||||
composer.createNode(constructor2);
|
||||
} else {
|
||||
composer.useNode();
|
||||
}
|
||||
Composer composerM3820constructorimpl2 = Updater.m3820constructorimpl(composer);
|
||||
Updater.m3827setimpl(composerM3820constructorimpl2, measurePolicyColumnMeasurePolicy, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
|
||||
Updater.m3827setimpl(composerM3820constructorimpl2, currentCompositionLocalMap2, ComposeUiNode.INSTANCE.getSetResolvedCompositionLocals());
|
||||
Function2<ComposeUiNode, Integer, Unit> setCompositeKeyHash2 = ComposeUiNode.INSTANCE.getSetCompositeKeyHash();
|
||||
if (composerM3820constructorimpl2.getInserting() || !Intrinsics.areEqual(composerM3820constructorimpl2.rememberedValue(), Integer.valueOf(iHashCode2))) {
|
||||
composerM3820constructorimpl2.updateRememberedValue(Integer.valueOf(iHashCode2));
|
||||
composerM3820constructorimpl2.apply(Integer.valueOf(iHashCode2), setCompositeKeyHash2);
|
||||
}
|
||||
Updater.m3827setimpl(composerM3820constructorimpl2, modifierMaterializeModifier2, ComposeUiNode.INSTANCE.getSetModifier());
|
||||
ComposerKt.sourceInformationMarkerStart(composer, 2093002350, "C89@4557L9:Column.kt#2w3rfo");
|
||||
ColumnScopeInstance columnScopeInstance = ColumnScopeInstance.INSTANCE;
|
||||
TextKt.m2803Text4IGK_g(StringResourcesKt.stringResource(String0_commonMainKt.getChanging_language_title(Res.string.INSTANCE), composer, 0), SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null), ColorKt.getRedTranvias(), 0L, (FontStyle) null, FontWeight.INSTANCE.getBold(), (FontFamily) null, 0L, (TextDecoration) null, TextAlign.m7092boximpl(TextAlign.INSTANCE.m7099getCentere0LSkKk()), 0L, 0, false, 0, 0, (Function1<? super TextLayoutResult, Unit>) null, (TextStyle) null, composer, 197040, 0, 130520);
|
||||
SpacerKt.Spacer(SizeKt.m870height3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(f2)), composer, 6);
|
||||
ProgressIndicatorKt.m2477CircularProgressIndicatorLxG7B9w(SizeKt.m884size3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(48)), ColorKt.getRedTranvias(), Dp.m7215constructorimpl(3), 0L, 0, composer, 438, 24);
|
||||
SpacerKt.Spacer(SizeKt.m870height3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(f)), composer, 6);
|
||||
TextKt.m2803Text4IGK_g(StringResourcesKt.stringResource(String0_commonMainKt.getChanging_language_message(Res.string.INSTANCE), composer, 0), SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null), MaterialTheme.INSTANCE.getColorScheme(composer, MaterialTheme.$stable).getOnSurface(), 0L, (FontStyle) null, FontWeight.INSTANCE.getMedium(), (FontFamily) null, 0L, (TextDecoration) null, TextAlign.m7092boximpl(TextAlign.INSTANCE.m7099getCentere0LSkKk()), 0L, 0, false, 0, 0, (Function1<? super TextLayoutResult, Unit>) null, (TextStyle) null, composer, 196656, 0, 130520);
|
||||
ComposerKt.sourceInformationMarkerEnd(composer);
|
||||
composer.endNode();
|
||||
ComposerKt.sourceInformationMarkerEnd(composer);
|
||||
ComposerKt.sourceInformationMarkerEnd(composer);
|
||||
ComposerKt.sourceInformationMarkerEnd(composer);
|
||||
ComposerKt.sourceInformationMarkerEnd(composer);
|
||||
composer.endNode();
|
||||
ComposerKt.sourceInformationMarkerEnd(composer);
|
||||
ComposerKt.sourceInformationMarkerEnd(composer);
|
||||
ComposerKt.sourceInformationMarkerEnd(composer);
|
||||
if (ComposerKt.isTraceInProgress()) {
|
||||
ComposerKt.traceEventEnd();
|
||||
}
|
||||
}
|
||||
}
|
||||
+134
@@ -0,0 +1,134 @@
|
||||
package com.sistemasolton.itranvias.home.presentation.utils;
|
||||
|
||||
import androidx.compose.foundation.layout.RowScope;
|
||||
import androidx.compose.material3.TextKt;
|
||||
import androidx.compose.runtime.Composer;
|
||||
import androidx.compose.runtime.ComposerKt;
|
||||
import androidx.compose.runtime.CompositionLocalKt;
|
||||
import androidx.compose.runtime.ProvidableCompositionLocal;
|
||||
import androidx.compose.runtime.ProvidedValue;
|
||||
import androidx.compose.runtime.internal.ComposableLambdaKt;
|
||||
import androidx.compose.ui.Modifier;
|
||||
import androidx.compose.ui.platform.CompositionLocalsKt;
|
||||
import androidx.compose.ui.text.TextLayoutResult;
|
||||
import androidx.compose.ui.text.TextStyle;
|
||||
import androidx.compose.ui.text.font.FontFamily;
|
||||
import androidx.compose.ui.text.font.FontStyle;
|
||||
import androidx.compose.ui.text.font.FontWeight;
|
||||
import androidx.compose.ui.text.style.TextAlign;
|
||||
import androidx.compose.ui.text.style.TextDecoration;
|
||||
import androidx.compose.ui.unit.Density;
|
||||
import androidx.compose.ui.unit.DensityKt;
|
||||
import itranvias.composeapp.generated.resources.Res;
|
||||
import itranvias.composeapp.generated.resources.String0_commonMainKt;
|
||||
import itranvias.composeapp.generated.resources.String1_commonMainKt;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlin.jvm.functions.Function3;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import org.jetbrains.compose.resources.StringResourcesKt;
|
||||
|
||||
/* JADX INFO: compiled from: UtilsScreen.kt */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@Metadata(k = 3, mv = {2, 1, 0}, xi = 48)
|
||||
public final class ComposableSingletons$UtilsScreenKt {
|
||||
public static final ComposableSingletons$UtilsScreenKt INSTANCE = new ComposableSingletons$UtilsScreenKt();
|
||||
|
||||
/* JADX INFO: renamed from: lambda$-135928193, reason: not valid java name */
|
||||
private static Function2<Composer, Integer, Unit> f87lambda$135928193 = ComposableLambdaKt.composableLambdaInstance(-135928193, false, ComposableSingletons$UtilsScreenKt$lambda$135928193$1.INSTANCE);
|
||||
|
||||
/* JADX INFO: renamed from: lambda$-1538448577, reason: not valid java name */
|
||||
private static Function2<Composer, Integer, Unit> f88lambda$1538448577 = ComposableLambdaKt.composableLambdaInstance(-1538448577, false, new Function2<Composer, Integer, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.utils.ComposableSingletons$UtilsScreenKt$lambda$-1538448577$1
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public /* bridge */ /* synthetic */ Unit invoke(Composer composer, Integer num) {
|
||||
invoke(composer, num.intValue());
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
public final void invoke(Composer composer, int i) {
|
||||
if ((i & 3) == 2 && composer.getSkipping()) {
|
||||
composer.skipToGroupEnd();
|
||||
return;
|
||||
}
|
||||
if (ComposerKt.isTraceInProgress()) {
|
||||
ComposerKt.traceEventStart(-1538448577, i, -1, "com.sistemasolton.itranvias.home.presentation.utils.ComposableSingletons$UtilsScreenKt.lambda$-1538448577.<anonymous> (UtilsScreen.kt:469)");
|
||||
}
|
||||
ProvidableCompositionLocal<Density> localDensity = CompositionLocalsKt.getLocalDensity();
|
||||
ProvidableCompositionLocal<Density> localDensity2 = CompositionLocalsKt.getLocalDensity();
|
||||
ComposerKt.sourceInformationMarkerStart(composer, 2023513938, "CC(<get-current>):CompositionLocal.kt#9igjgp");
|
||||
Object objConsume = composer.consume(localDensity2);
|
||||
ComposerKt.sourceInformationMarkerEnd(composer);
|
||||
CompositionLocalKt.CompositionLocalProvider(localDensity.provides(DensityKt.Density(((Density) objConsume).getDensity(), 1.0f)), ComposableSingletons$UtilsScreenKt.INSTANCE.m8012getLambda$135928193$composeApp_release(), composer, ProvidedValue.$stable | 48);
|
||||
if (ComposerKt.isTraceInProgress()) {
|
||||
ComposerKt.traceEventEnd();
|
||||
}
|
||||
}
|
||||
});
|
||||
private static Function3<RowScope, Composer, Integer, Unit> lambda$105219755 = ComposableLambdaKt.composableLambdaInstance(105219755, false, new Function3<RowScope, Composer, Integer, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.utils.ComposableSingletons$UtilsScreenKt$lambda$105219755$1
|
||||
@Override // kotlin.jvm.functions.Function3
|
||||
public /* bridge */ /* synthetic */ Unit invoke(RowScope rowScope, Composer composer, Integer num) {
|
||||
invoke(rowScope, composer, num.intValue());
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
public final void invoke(RowScope Button, Composer composer, int i) {
|
||||
Intrinsics.checkNotNullParameter(Button, "$this$Button");
|
||||
if ((i & 17) == 16 && composer.getSkipping()) {
|
||||
composer.skipToGroupEnd();
|
||||
return;
|
||||
}
|
||||
if (ComposerKt.isTraceInProgress()) {
|
||||
ComposerKt.traceEventStart(105219755, i, -1, "com.sistemasolton.itranvias.home.presentation.utils.ComposableSingletons$UtilsScreenKt.lambda$105219755.<anonymous> (UtilsScreen.kt:841)");
|
||||
}
|
||||
TextKt.m2803Text4IGK_g(StringResourcesKt.stringResource(String1_commonMainKt.getYes(Res.string.INSTANCE), composer, 0), (Modifier) null, 0L, 0L, (FontStyle) null, (FontWeight) null, (FontFamily) null, 0L, (TextDecoration) null, (TextAlign) null, 0L, 0, false, 0, 0, (Function1<? super TextLayoutResult, Unit>) null, (TextStyle) null, composer, 0, 0, 131070);
|
||||
if (ComposerKt.isTraceInProgress()) {
|
||||
ComposerKt.traceEventEnd();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
/* JADX INFO: renamed from: lambda$-1333080044, reason: not valid java name */
|
||||
private static Function3<RowScope, Composer, Integer, Unit> f86lambda$1333080044 = ComposableLambdaKt.composableLambdaInstance(-1333080044, false, new Function3<RowScope, Composer, Integer, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.utils.ComposableSingletons$UtilsScreenKt$lambda$-1333080044$1
|
||||
@Override // kotlin.jvm.functions.Function3
|
||||
public /* bridge */ /* synthetic */ Unit invoke(RowScope rowScope, Composer composer, Integer num) {
|
||||
invoke(rowScope, composer, num.intValue());
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
public final void invoke(RowScope Button, Composer composer, int i) {
|
||||
Intrinsics.checkNotNullParameter(Button, "$this$Button");
|
||||
if ((i & 17) == 16 && composer.getSkipping()) {
|
||||
composer.skipToGroupEnd();
|
||||
return;
|
||||
}
|
||||
if (ComposerKt.isTraceInProgress()) {
|
||||
ComposerKt.traceEventStart(-1333080044, i, -1, "com.sistemasolton.itranvias.home.presentation.utils.ComposableSingletons$UtilsScreenKt.lambda$-1333080044.<anonymous> (UtilsScreen.kt:853)");
|
||||
}
|
||||
TextKt.m2803Text4IGK_g(StringResourcesKt.stringResource(String0_commonMainKt.getCancel(Res.string.INSTANCE), composer, 0), (Modifier) null, 0L, 0L, (FontStyle) null, (FontWeight) null, (FontFamily) null, 0L, (TextDecoration) null, (TextAlign) null, 0L, 0, false, 0, 0, (Function1<? super TextLayoutResult, Unit>) null, (TextStyle) null, composer, 0, 0, 131070);
|
||||
if (ComposerKt.isTraceInProgress()) {
|
||||
ComposerKt.traceEventEnd();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
/* JADX INFO: renamed from: getLambda$-1333080044$composeApp_release, reason: not valid java name */
|
||||
public final Function3<RowScope, Composer, Integer, Unit> m8011getLambda$1333080044$composeApp_release() {
|
||||
return f86lambda$1333080044;
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: getLambda$-135928193$composeApp_release, reason: not valid java name */
|
||||
public final Function2<Composer, Integer, Unit> m8012getLambda$135928193$composeApp_release() {
|
||||
return f87lambda$135928193;
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: getLambda$-1538448577$composeApp_release, reason: not valid java name */
|
||||
public final Function2<Composer, Integer, Unit> m8013getLambda$1538448577$composeApp_release() {
|
||||
return f88lambda$1538448577;
|
||||
}
|
||||
|
||||
public final Function3<RowScope, Composer, Integer, Unit> getLambda$105219755$composeApp_release() {
|
||||
return lambda$105219755;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
package com.sistemasolton.itranvias.home.presentation.utils;
|
||||
|
||||
import androidx.compose.ui.graphics.vector.ImageVector;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* JADX INFO: compiled from: UtilsScreen.kt */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\r\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B%\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\f\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\b0\u0007¢\u0006\u0004\b\t\u0010\nJ\t\u0010\u0011\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0012\u001a\u00020\u0005HÆ\u0003J\u000f\u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\b0\u0007HÆ\u0003J-\u0010\u0014\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\u000e\b\u0002\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\b0\u0007HÆ\u0001J\u0013\u0010\u0015\u001a\u00020\u00162\b\u0010\u0017\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0018\u001a\u00020\u0019HÖ\u0001J\t\u0010\u001a\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0017\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\b0\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010¨\u0006\u001b"}, d2 = {"Lcom/sistemasolton/itranvias/home/presentation/utils/UtilAction;", "", "label", "", "icon", "Landroidx/compose/ui/graphics/vector/ImageVector;", "action", "Lkotlin/Function0;", "", "<init>", "(Ljava/lang/String;Landroidx/compose/ui/graphics/vector/ImageVector;Lkotlin/jvm/functions/Function0;)V", "getLabel", "()Ljava/lang/String;", "getIcon", "()Landroidx/compose/ui/graphics/vector/ImageVector;", "getAction", "()Lkotlin/jvm/functions/Function0;", "component1", "component2", "component3", "copy", "equals", "", "other", "hashCode", "", "toString", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
|
||||
public final /* data */ class UtilAction {
|
||||
public static final int $stable = 0;
|
||||
private final Function0<Unit> action;
|
||||
private final ImageVector icon;
|
||||
private final String label;
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public static /* synthetic */ UtilAction copy$default(UtilAction utilAction, String str, ImageVector imageVector, Function0 function0, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = utilAction.label;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
imageVector = utilAction.icon;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
function0 = utilAction.action;
|
||||
}
|
||||
return utilAction.copy(str, imageVector, function0);
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: component1, reason: from getter */
|
||||
public final String getLabel() {
|
||||
return this.label;
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: component2, reason: from getter */
|
||||
public final ImageVector getIcon() {
|
||||
return this.icon;
|
||||
}
|
||||
|
||||
public final Function0<Unit> component3() {
|
||||
return this.action;
|
||||
}
|
||||
|
||||
public final UtilAction copy(String label, ImageVector icon, Function0<Unit> action) {
|
||||
Intrinsics.checkNotNullParameter(label, "label");
|
||||
Intrinsics.checkNotNullParameter(icon, "icon");
|
||||
Intrinsics.checkNotNullParameter(action, "action");
|
||||
return new UtilAction(label, icon, action);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof UtilAction)) {
|
||||
return false;
|
||||
}
|
||||
UtilAction utilAction = (UtilAction) other;
|
||||
return Intrinsics.areEqual(this.label, utilAction.label) && Intrinsics.areEqual(this.icon, utilAction.icon) && Intrinsics.areEqual(this.action, utilAction.action);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return (((this.label.hashCode() * 31) + this.icon.hashCode()) * 31) + this.action.hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "UtilAction(label=" + this.label + ", icon=" + this.icon + ", action=" + this.action + ")";
|
||||
}
|
||||
|
||||
public UtilAction(String label, ImageVector icon, Function0<Unit> action) {
|
||||
Intrinsics.checkNotNullParameter(label, "label");
|
||||
Intrinsics.checkNotNullParameter(icon, "icon");
|
||||
Intrinsics.checkNotNullParameter(action, "action");
|
||||
this.label = label;
|
||||
this.icon = icon;
|
||||
this.action = action;
|
||||
}
|
||||
|
||||
public final String getLabel() {
|
||||
return this.label;
|
||||
}
|
||||
|
||||
public final ImageVector getIcon() {
|
||||
return this.icon;
|
||||
}
|
||||
|
||||
public final Function0<Unit> getAction() {
|
||||
return this.action;
|
||||
}
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
package com.sistemasolton.itranvias.home.presentation.utils;
|
||||
|
||||
import com.sistemasolton.itranvias.data.preferences.SettingsRepository;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.DebugMetadata;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
|
||||
/* JADX INFO: compiled from: UtilsScreen.kt */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\n"}, d2 = {"<anonymous>", "", "Lkotlinx/coroutines/CoroutineScope;"}, k = 3, mv = {2, 1, 0}, xi = 48)
|
||||
@DebugMetadata(c = "com.sistemasolton.itranvias.home.presentation.utils.UtilsScreenKt$UtilsScreen$17$1$2$2$1$1$1", f = "UtilsScreen.kt", i = {}, l = {580}, m = "invokeSuspend", n = {}, s = {})
|
||||
final class UtilsScreenKt$UtilsScreen$17$1$2$2$1$1$1 extends SuspendLambda implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
|
||||
final /* synthetic */ String $code;
|
||||
final /* synthetic */ SettingsRepository $settingsRepository;
|
||||
int label;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
UtilsScreenKt$UtilsScreen$17$1$2$2$1$1$1(SettingsRepository settingsRepository, String str, Continuation<? super UtilsScreenKt$UtilsScreen$17$1$2$2$1$1$1> continuation) {
|
||||
super(2, continuation);
|
||||
this.$settingsRepository = settingsRepository;
|
||||
this.$code = str;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
||||
return new UtilsScreenKt$UtilsScreen$17$1$2$2$1$1$1(this.$settingsRepository, this.$code, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
|
||||
return ((UtilsScreenKt$UtilsScreen$17$1$2$2$1$1$1) create(coroutineScope, continuation)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) throws Throwable {
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.label;
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
this.label = 1;
|
||||
if (this.$settingsRepository.setLanguage(this.$code, this) == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
package com.sistemasolton.itranvias.home.presentation.utils;
|
||||
|
||||
import com.sistemasolton.itranvias.data.preferences.SettingsRepository;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.DebugMetadata;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
|
||||
/* JADX INFO: compiled from: UtilsScreen.kt */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\n"}, d2 = {"<anonymous>", "", "Lkotlinx/coroutines/CoroutineScope;"}, k = 3, mv = {2, 1, 0}, xi = 48)
|
||||
@DebugMetadata(c = "com.sistemasolton.itranvias.home.presentation.utils.UtilsScreenKt$UtilsScreen$17$1$2$2$3$1$1$1", f = "UtilsScreen.kt", i = {}, l = {600}, m = "invokeSuspend", n = {}, s = {})
|
||||
final class UtilsScreenKt$UtilsScreen$17$1$2$2$3$1$1$1 extends SuspendLambda implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
|
||||
final /* synthetic */ String $code;
|
||||
final /* synthetic */ SettingsRepository $settingsRepository;
|
||||
int label;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
UtilsScreenKt$UtilsScreen$17$1$2$2$3$1$1$1(SettingsRepository settingsRepository, String str, Continuation<? super UtilsScreenKt$UtilsScreen$17$1$2$2$3$1$1$1> continuation) {
|
||||
super(2, continuation);
|
||||
this.$settingsRepository = settingsRepository;
|
||||
this.$code = str;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
||||
return new UtilsScreenKt$UtilsScreen$17$1$2$2$3$1$1$1(this.$settingsRepository, this.$code, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
|
||||
return ((UtilsScreenKt$UtilsScreen$17$1$2$2$3$1$1$1) create(coroutineScope, continuation)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) throws Throwable {
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.label;
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
this.label = 1;
|
||||
if (this.$settingsRepository.setLanguage(this.$code, this) == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
package com.sistemasolton.itranvias.home.presentation.utils;
|
||||
|
||||
import com.sistemasolton.itranvias.data.preferences.SettingsRepository;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.DebugMetadata;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
|
||||
/* JADX INFO: compiled from: UtilsScreen.kt */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\n"}, d2 = {"<anonymous>", "", "Lkotlinx/coroutines/CoroutineScope;"}, k = 3, mv = {2, 1, 0}, xi = 48)
|
||||
@DebugMetadata(c = "com.sistemasolton.itranvias.home.presentation.utils.UtilsScreenKt$UtilsScreen$19$1$2$2$1$1$1", f = "UtilsScreen.kt", i = {}, l = {683}, m = "invokeSuspend", n = {}, s = {})
|
||||
final class UtilsScreenKt$UtilsScreen$19$1$2$2$1$1$1 extends SuspendLambda implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
|
||||
final /* synthetic */ String $code;
|
||||
final /* synthetic */ SettingsRepository $settingsRepository;
|
||||
int label;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
UtilsScreenKt$UtilsScreen$19$1$2$2$1$1$1(SettingsRepository settingsRepository, String str, Continuation<? super UtilsScreenKt$UtilsScreen$19$1$2$2$1$1$1> continuation) {
|
||||
super(2, continuation);
|
||||
this.$settingsRepository = settingsRepository;
|
||||
this.$code = str;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
||||
return new UtilsScreenKt$UtilsScreen$19$1$2$2$1$1$1(this.$settingsRepository, this.$code, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
|
||||
return ((UtilsScreenKt$UtilsScreen$19$1$2$2$1$1$1) create(coroutineScope, continuation)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) throws Throwable {
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.label;
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
this.label = 1;
|
||||
if (this.$settingsRepository.setTheme(this.$code, this) == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
package com.sistemasolton.itranvias.home.presentation.utils;
|
||||
|
||||
import com.sistemasolton.itranvias.data.preferences.SettingsRepository;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.DebugMetadata;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
|
||||
/* JADX INFO: compiled from: UtilsScreen.kt */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\n"}, d2 = {"<anonymous>", "", "Lkotlinx/coroutines/CoroutineScope;"}, k = 3, mv = {2, 1, 0}, xi = 48)
|
||||
@DebugMetadata(c = "com.sistemasolton.itranvias.home.presentation.utils.UtilsScreenKt$UtilsScreen$19$1$2$2$3$1$1$1", f = "UtilsScreen.kt", i = {}, l = {701}, m = "invokeSuspend", n = {}, s = {})
|
||||
final class UtilsScreenKt$UtilsScreen$19$1$2$2$3$1$1$1 extends SuspendLambda implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
|
||||
final /* synthetic */ String $code;
|
||||
final /* synthetic */ SettingsRepository $settingsRepository;
|
||||
int label;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
UtilsScreenKt$UtilsScreen$19$1$2$2$3$1$1$1(SettingsRepository settingsRepository, String str, Continuation<? super UtilsScreenKt$UtilsScreen$19$1$2$2$3$1$1$1> continuation) {
|
||||
super(2, continuation);
|
||||
this.$settingsRepository = settingsRepository;
|
||||
this.$code = str;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
||||
return new UtilsScreenKt$UtilsScreen$19$1$2$2$3$1$1$1(this.$settingsRepository, this.$code, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
|
||||
return ((UtilsScreenKt$UtilsScreen$19$1$2$2$3$1$1$1) create(coroutineScope, continuation)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) throws Throwable {
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.label;
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
this.label = 1;
|
||||
if (this.$settingsRepository.setTheme(this.$code, this) == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
package com.sistemasolton.itranvias.home.presentation.utils;
|
||||
|
||||
import com.sistemasolton.itranvias.data.preferences.SettingsRepository;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.DebugMetadata;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
|
||||
/* JADX INFO: compiled from: UtilsScreen.kt */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\n"}, d2 = {"<anonymous>", "", "Lkotlinx/coroutines/CoroutineScope;"}, k = 3, mv = {2, 1, 0}, xi = 48)
|
||||
@DebugMetadata(c = "com.sistemasolton.itranvias.home.presentation.utils.UtilsScreenKt$UtilsScreen$21$1$1$2$1$1$1", f = "UtilsScreen.kt", i = {}, l = {755}, m = "invokeSuspend", n = {}, s = {})
|
||||
final class UtilsScreenKt$UtilsScreen$21$1$1$2$1$1$1 extends SuspendLambda implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
|
||||
final /* synthetic */ String $route;
|
||||
final /* synthetic */ SettingsRepository $settingsRepository;
|
||||
int label;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
UtilsScreenKt$UtilsScreen$21$1$1$2$1$1$1(SettingsRepository settingsRepository, String str, Continuation<? super UtilsScreenKt$UtilsScreen$21$1$1$2$1$1$1> continuation) {
|
||||
super(2, continuation);
|
||||
this.$settingsRepository = settingsRepository;
|
||||
this.$route = str;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
||||
return new UtilsScreenKt$UtilsScreen$21$1$1$2$1$1$1(this.$settingsRepository, this.$route, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
|
||||
return ((UtilsScreenKt$UtilsScreen$21$1$1$2$1$1$1) create(coroutineScope, continuation)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) throws Throwable {
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.label;
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
this.label = 1;
|
||||
if (this.$settingsRepository.setPreferredTab(this.$route, this) == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
package com.sistemasolton.itranvias.home.presentation.utils;
|
||||
|
||||
import com.sistemasolton.itranvias.data.preferences.SettingsRepository;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.DebugMetadata;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
|
||||
/* JADX INFO: compiled from: UtilsScreen.kt */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\n"}, d2 = {"<anonymous>", "", "Lkotlinx/coroutines/CoroutineScope;"}, k = 3, mv = {2, 1, 0}, xi = 48)
|
||||
@DebugMetadata(c = "com.sistemasolton.itranvias.home.presentation.utils.UtilsScreenKt$UtilsScreen$21$1$1$2$3$1$1$1", f = "UtilsScreen.kt", i = {}, l = {773}, m = "invokeSuspend", n = {}, s = {})
|
||||
final class UtilsScreenKt$UtilsScreen$21$1$1$2$3$1$1$1 extends SuspendLambda implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
|
||||
final /* synthetic */ String $route;
|
||||
final /* synthetic */ SettingsRepository $settingsRepository;
|
||||
int label;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
UtilsScreenKt$UtilsScreen$21$1$1$2$3$1$1$1(SettingsRepository settingsRepository, String str, Continuation<? super UtilsScreenKt$UtilsScreen$21$1$1$2$3$1$1$1> continuation) {
|
||||
super(2, continuation);
|
||||
this.$settingsRepository = settingsRepository;
|
||||
this.$route = str;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
||||
return new UtilsScreenKt$UtilsScreen$21$1$1$2$3$1$1$1(this.$settingsRepository, this.$route, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
|
||||
return ((UtilsScreenKt$UtilsScreen$21$1$1$2$3$1$1$1) create(coroutineScope, continuation)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) throws Throwable {
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.label;
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
this.label = 1;
|
||||
if (this.$settingsRepository.setPreferredTab(this.$route, this) == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
package com.sistemasolton.itranvias.home.presentation.utils;
|
||||
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
|
||||
/* JADX INFO: compiled from: LazyDsl.kt */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@Metadata(k = 3, mv = {2, 1, 0}, xi = 48)
|
||||
public final class UtilsScreenKt$UtilsScreen$lambda$54$lambda$53$$inlined$items$default$2 implements Function1<Integer, Object> {
|
||||
final /* synthetic */ List $items;
|
||||
final /* synthetic */ Function1 $key;
|
||||
|
||||
public UtilsScreenKt$UtilsScreen$lambda$54$lambda$53$$inlined$items$default$2(Function1 function1, List list) {
|
||||
this.$key = function1;
|
||||
this.$items = list;
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public /* bridge */ /* synthetic */ Object invoke(Integer num) {
|
||||
return invoke(num.intValue());
|
||||
}
|
||||
|
||||
public final Object invoke(int i) {
|
||||
return this.$key.invoke(this.$items.get(i));
|
||||
}
|
||||
}
|
||||
+446
@@ -0,0 +1,446 @@
|
||||
package com.sistemasolton.itranvias.home.presentation.utils;
|
||||
|
||||
import androidx.compose.foundation.ClickableKt;
|
||||
import androidx.compose.foundation.layout.Arrangement;
|
||||
import androidx.compose.foundation.layout.ColumnScope;
|
||||
import androidx.compose.foundation.layout.PaddingKt;
|
||||
import androidx.compose.foundation.layout.RowKt;
|
||||
import androidx.compose.foundation.layout.RowScopeInstance;
|
||||
import androidx.compose.foundation.layout.SizeKt;
|
||||
import androidx.compose.foundation.layout.SpacerKt;
|
||||
import androidx.compose.foundation.lazy.LazyItemScope;
|
||||
import androidx.compose.foundation.lazy.LazyListScope;
|
||||
import androidx.compose.foundation.shape.RoundedCornerShapeKt;
|
||||
import androidx.compose.material3.CardDefaults;
|
||||
import androidx.compose.material3.CardKt;
|
||||
import androidx.compose.material3.IconKt;
|
||||
import androidx.compose.material3.MaterialTheme;
|
||||
import androidx.compose.material3.TextKt;
|
||||
import androidx.compose.runtime.Applier;
|
||||
import androidx.compose.runtime.ComposablesKt;
|
||||
import androidx.compose.runtime.Composer;
|
||||
import androidx.compose.runtime.ComposerKt;
|
||||
import androidx.compose.runtime.CompositionLocalMap;
|
||||
import androidx.compose.runtime.MutableState;
|
||||
import androidx.compose.runtime.RecomposeScopeImplKt;
|
||||
import androidx.compose.runtime.State;
|
||||
import androidx.compose.runtime.Updater;
|
||||
import androidx.compose.runtime.internal.ComposableLambdaKt;
|
||||
import androidx.compose.ui.Alignment;
|
||||
import androidx.compose.ui.ComposedModifierKt;
|
||||
import androidx.compose.ui.Modifier;
|
||||
import androidx.compose.ui.layout.MeasurePolicy;
|
||||
import androidx.compose.ui.node.ComposeUiNode;
|
||||
import androidx.compose.ui.semantics.Role;
|
||||
import androidx.compose.ui.semantics.SemanticsModifierKt;
|
||||
import androidx.compose.ui.semantics.SemanticsPropertiesKt;
|
||||
import androidx.compose.ui.semantics.SemanticsPropertyReceiver;
|
||||
import androidx.compose.ui.text.TextLayoutResult;
|
||||
import androidx.compose.ui.text.TextStyle;
|
||||
import androidx.compose.ui.text.font.FontFamily;
|
||||
import androidx.compose.ui.text.font.FontStyle;
|
||||
import androidx.compose.ui.text.font.FontWeight;
|
||||
import androidx.compose.ui.text.style.TextAlign;
|
||||
import androidx.compose.ui.text.style.TextDecoration;
|
||||
import androidx.compose.ui.unit.Dp;
|
||||
import androidx.profileinstaller.ProfileVerifier;
|
||||
import com.sistemasolton.itranvias.ui.theme.ColorKt;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlin.jvm.functions.Function3;
|
||||
import kotlin.jvm.functions.Function4;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* JADX INFO: compiled from: UtilsScreen.kt */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@Metadata(d1 = {"\u0000 \n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\b\u001a]\u0010\u0000\u001a\u00020\u00012\u000e\b\u0002\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00010\u00032\u000e\b\u0002\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00010\u00032\u000e\b\u0002\u0010\u0005\u001a\b\u0012\u0004\u0012\u00020\u00010\u00032\u000e\b\u0002\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\u00010\u00032\u000e\b\u0002\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00010\u0003H\u0007¢\u0006\u0002\u0010\b¨\u0006\t²\u0006\n\u0010\n\u001a\u00020\u000bX\u008a\u0084\u0002²\u0006\n\u0010\f\u001a\u00020\u000bX\u008a\u0084\u0002²\u0006\n\u0010\r\u001a\u00020\u000bX\u008a\u0084\u0002²\u0006\n\u0010\u000e\u001a\u00020\u000fX\u008a\u008e\u0002²\u0006\n\u0010\u0010\u001a\u00020\u000fX\u008a\u008e\u0002²\u0006\f\u0010\u0011\u001a\u0004\u0018\u00010\u000bX\u008a\u008e\u0002²\u0006\n\u0010\u0012\u001a\u00020\u000fX\u008a\u008e\u0002²\u0006\n\u0010\u0013\u001a\u00020\u000fX\u008a\u008e\u0002²\u0006\n\u0010\u0014\u001a\u00020\u000fX\u008a\u008e\u0002²\u0006\n\u0010\u0015\u001a\u00020\u000fX\u008a\u008e\u0002²\u0006\n\u0010\u0016\u001a\u00020\u000bX\u008a\u008e\u0002²\u0006\n\u0010\u0017\u001a\u00020\u000bX\u008a\u008e\u0002"}, d2 = {"UtilsScreen", "", "onCardReader", "Lkotlin/Function0;", "onCalculateRoute", "onFreeTransfers", "onShowTariffs", "onShowInfo", "(Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;Landroidx/compose/runtime/Composer;II)V", "composeApp_release", "language", "", "theme", "preferredTab", "showClearStopsDialog", "", "showClearLinesDialog", "showSuccessMessage", "showSelectTabSheet", "showLanguageSheet", "showThemeSheet", "showClearHistoryDialog", "selectedLanguage", "selectedTheme"}, k = 2, mv = {2, 1, 0}, xi = 48)
|
||||
public final class UtilsScreenKt {
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Unit UtilsScreen$lambda$77(Function0 function0, Function0 function02, Function0 function03, Function0 function04, Function0 function05, int i, int i2, Composer composer, int i3) {
|
||||
UtilsScreen(function0, function02, function03, function04, function05, composer, RecomposeScopeImplKt.updateChangedFlags(i | 1), i2);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
public static final /* synthetic */ String access$UtilsScreen$lambda$10(State state) {
|
||||
return UtilsScreen$lambda$10(state);
|
||||
}
|
||||
|
||||
/* JADX WARN: Removed duplicated region for block: B:26:0x0049 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:273:0x0b4d */
|
||||
/* JADX WARN: Removed duplicated region for block: B:275:0x0b5d */
|
||||
/* JADX WARN: Removed duplicated region for block: B:277:? A[RETURN, SYNTHETIC] */
|
||||
/* JADX WARN: Removed duplicated region for block: B:27:0x004c */
|
||||
/* JADX WARN: Removed duplicated region for block: B:37:0x0065 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:38:0x0068 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:48:0x0081 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:49:0x0084 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:59:0x00a0 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:63:0x00b2 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:65:0x00b7 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:69:0x00d4 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:71:0x00d7 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:75:0x00f4 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:77:0x00f7 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:81:0x0114 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:83:0x0117 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:88:0x0136 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:92:0x0154 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:95:0x015b */
|
||||
/* JADX WARN: Removed duplicated region for block: B:98:0x0175 */
|
||||
/* JADX WARN: Type inference fix 'apply assigned field type' failed
|
||||
java.lang.UnsupportedOperationException: ArgType.getObject(), call class: class jadx.core.dex.instructions.args.ArgType$PrimitiveArg
|
||||
at jadx.core.dex.instructions.args.ArgType.getObject(ArgType.java:593)
|
||||
at jadx.core.dex.attributes.nodes.ClassTypeVarsAttr.getTypeVarsMapFor(ClassTypeVarsAttr.java:35)
|
||||
at jadx.core.dex.nodes.utils.TypeUtils.replaceClassGenerics(TypeUtils.java:177)
|
||||
at jadx.core.dex.visitors.typeinference.FixTypesVisitor.insertExplicitUseCast(FixTypesVisitor.java:397)
|
||||
at jadx.core.dex.visitors.typeinference.FixTypesVisitor.tryFieldTypeWithNewCasts(FixTypesVisitor.java:359)
|
||||
at jadx.core.dex.visitors.typeinference.FixTypesVisitor.applyFieldType(FixTypesVisitor.java:309)
|
||||
at jadx.core.dex.visitors.typeinference.FixTypesVisitor.visit(FixTypesVisitor.java:94)
|
||||
*/
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct code enable 'Show inconsistent code' option in preferences
|
||||
*/
|
||||
public static final void UtilsScreen(kotlin.jvm.functions.Function0<kotlin.Unit> r52, kotlin.jvm.functions.Function0<kotlin.Unit> r53, kotlin.jvm.functions.Function0<kotlin.Unit> r54, kotlin.jvm.functions.Function0<kotlin.Unit> r55, kotlin.jvm.functions.Function0<kotlin.Unit> r56, androidx.compose.runtime.Composer r57, final int r58, final int r59) {
|
||||
/*
|
||||
Method dump skipped, instruction units count: 2921
|
||||
To view this dump change 'Code comments level' option to 'DEBUG'
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.sistemasolton.itranvias.home.presentation.utils.UtilsScreenKt.UtilsScreen(kotlin.jvm.functions.Function0, kotlin.jvm.functions.Function0, kotlin.jvm.functions.Function0, kotlin.jvm.functions.Function0, kotlin.jvm.functions.Function0, androidx.compose.runtime.Composer, int, int):void");
|
||||
}
|
||||
|
||||
private static final boolean UtilsScreen$lambda$14(MutableState<Boolean> mutableState) {
|
||||
return mutableState.getValue().booleanValue();
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final void UtilsScreen$lambda$15(MutableState<Boolean> mutableState, boolean z) {
|
||||
mutableState.setValue(Boolean.valueOf(z));
|
||||
}
|
||||
|
||||
private static final boolean UtilsScreen$lambda$17(MutableState<Boolean> mutableState) {
|
||||
return mutableState.getValue().booleanValue();
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final void UtilsScreen$lambda$18(MutableState<Boolean> mutableState, boolean z) {
|
||||
mutableState.setValue(Boolean.valueOf(z));
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final String UtilsScreen$lambda$20(MutableState<String> mutableState) {
|
||||
return mutableState.getValue();
|
||||
}
|
||||
|
||||
private static final boolean UtilsScreen$lambda$23(MutableState<Boolean> mutableState) {
|
||||
return mutableState.getValue().booleanValue();
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final void UtilsScreen$lambda$24(MutableState<Boolean> mutableState, boolean z) {
|
||||
mutableState.setValue(Boolean.valueOf(z));
|
||||
}
|
||||
|
||||
private static final boolean UtilsScreen$lambda$26(MutableState<Boolean> mutableState) {
|
||||
return mutableState.getValue().booleanValue();
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final void UtilsScreen$lambda$27(MutableState<Boolean> mutableState, boolean z) {
|
||||
mutableState.setValue(Boolean.valueOf(z));
|
||||
}
|
||||
|
||||
private static final boolean UtilsScreen$lambda$29(MutableState<Boolean> mutableState) {
|
||||
return mutableState.getValue().booleanValue();
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final void UtilsScreen$lambda$30(MutableState<Boolean> mutableState, boolean z) {
|
||||
mutableState.setValue(Boolean.valueOf(z));
|
||||
}
|
||||
|
||||
private static final boolean UtilsScreen$lambda$32(MutableState<Boolean> mutableState) {
|
||||
return mutableState.getValue().booleanValue();
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final void UtilsScreen$lambda$33(MutableState<Boolean> mutableState, boolean z) {
|
||||
mutableState.setValue(Boolean.valueOf(z));
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Unit UtilsScreen$lambda$35$lambda$34(MutableState mutableState) {
|
||||
UtilsScreen$lambda$27(mutableState, true);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Unit UtilsScreen$lambda$37$lambda$36(MutableState mutableState) {
|
||||
UtilsScreen$lambda$15(mutableState, true);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Unit UtilsScreen$lambda$39$lambda$38(MutableState mutableState) {
|
||||
UtilsScreen$lambda$18(mutableState, true);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Unit UtilsScreen$lambda$41$lambda$40(MutableState mutableState) {
|
||||
UtilsScreen$lambda$33(mutableState, true);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Unit UtilsScreen$lambda$43$lambda$42(MutableState mutableState) {
|
||||
UtilsScreen$lambda$24(mutableState, true);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Unit UtilsScreen$lambda$45$lambda$44(MutableState mutableState) {
|
||||
UtilsScreen$lambda$30(mutableState, true);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Unit UtilsScreen$lambda$47$lambda$46(Function0 function0) {
|
||||
function0.invoke();
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Unit UtilsScreen$lambda$49$lambda$48(SemanticsPropertyReceiver semantics) {
|
||||
Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
|
||||
SemanticsPropertiesKt.setContentDescription(semantics, "Lista de configuración y utilidades");
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Unit UtilsScreen$lambda$56$lambda$55(MutableState mutableState) {
|
||||
UtilsScreen$lambda$15(mutableState, false);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Unit UtilsScreen$lambda$58$lambda$57(MutableState mutableState) {
|
||||
UtilsScreen$lambda$18(mutableState, false);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Unit UtilsScreen$lambda$60$lambda$59(MutableState mutableState) {
|
||||
mutableState.setValue(null);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Unit UtilsScreen$lambda$67$lambda$66(MutableState mutableState) {
|
||||
UtilsScreen$lambda$27(mutableState, false);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Unit UtilsScreen$lambda$72$lambda$71(MutableState mutableState) {
|
||||
UtilsScreen$lambda$30(mutableState, false);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Unit UtilsScreen$lambda$74$lambda$73(MutableState mutableState) {
|
||||
UtilsScreen$lambda$24(mutableState, false);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Unit UtilsScreen$lambda$76$lambda$75(MutableState mutableState) {
|
||||
UtilsScreen$lambda$33(mutableState, false);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final String UtilsScreen$lambda$10(State<String> state) {
|
||||
return state.getValue();
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final String UtilsScreen$lambda$11(State<String> state) {
|
||||
return state.getValue();
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final String UtilsScreen$lambda$12(State<String> state) {
|
||||
return state.getValue();
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final void UtilsScreen$lambda$21(MutableState<String> mutableState, String str) {
|
||||
mutableState.setValue(str);
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public static final Unit UtilsScreen$lambda$54$lambda$53(final List list, LazyListScope LazyColumn) {
|
||||
Intrinsics.checkNotNullParameter(LazyColumn, "$this$LazyColumn");
|
||||
final UtilsScreenKt$UtilsScreen$lambda$54$lambda$53$$inlined$items$default$1 utilsScreenKt$UtilsScreen$lambda$54$lambda$53$$inlined$items$default$1 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.utils.UtilsScreenKt$UtilsScreen$lambda$54$lambda$53$$inlined$items$default$1
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public final Void invoke(UtilAction utilAction) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public /* bridge */ /* synthetic */ Object invoke(Object obj) {
|
||||
return invoke((UtilAction) obj);
|
||||
}
|
||||
};
|
||||
LazyColumn.items(list.size(), null, new Function1<Integer, Object>() { // from class: com.sistemasolton.itranvias.home.presentation.utils.UtilsScreenKt$UtilsScreen$lambda$54$lambda$53$$inlined$items$default$3
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public /* bridge */ /* synthetic */ Object invoke(Integer num) {
|
||||
return invoke(num.intValue());
|
||||
}
|
||||
|
||||
public final Object invoke(int i) {
|
||||
return utilsScreenKt$UtilsScreen$lambda$54$lambda$53$$inlined$items$default$1.invoke(list.get(i));
|
||||
}
|
||||
}, ComposableLambdaKt.composableLambdaInstance(802480018, true, new Function4<LazyItemScope, Integer, Composer, Integer, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.utils.UtilsScreenKt$UtilsScreen$lambda$54$lambda$53$$inlined$items$default$4
|
||||
@Override // kotlin.jvm.functions.Function4
|
||||
public /* bridge */ /* synthetic */ Unit invoke(LazyItemScope lazyItemScope, Integer num, Composer composer, Integer num2) {
|
||||
invoke(lazyItemScope, num.intValue(), composer, num2.intValue());
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
public final void invoke(LazyItemScope lazyItemScope, int i, Composer composer, int i2) {
|
||||
int i3;
|
||||
ComposerKt.sourceInformation(composer, "CN(it)178@8834L22:LazyDsl.kt#428nma");
|
||||
if ((i2 & 6) == 0) {
|
||||
i3 = i2 | (composer.changed(lazyItemScope) ? 4 : 2);
|
||||
} else {
|
||||
i3 = i2;
|
||||
}
|
||||
if ((i2 & 48) == 0) {
|
||||
i3 |= composer.changed(i) ? 32 : 16;
|
||||
}
|
||||
if (!composer.shouldExecute((i3 & 147) != 146, i3 & 1)) {
|
||||
composer.skipToGroupEnd();
|
||||
return;
|
||||
}
|
||||
if (ComposerKt.isTraceInProgress()) {
|
||||
ComposerKt.traceEventStart(802480018, i3, -1, "androidx.compose.foundation.lazy.items.<anonymous> (LazyDsl.kt:178)");
|
||||
}
|
||||
final UtilAction utilAction = (UtilAction) list.get(i);
|
||||
composer.startReplaceGroup(-1927140108);
|
||||
Modifier modifierFillMaxWidth$default = SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null);
|
||||
composer.startReplaceGroup(5004770);
|
||||
boolean zChanged = composer.changed(utilAction);
|
||||
Object objRememberedValue = composer.rememberedValue();
|
||||
if (zChanged || objRememberedValue == Composer.INSTANCE.getEmpty()) {
|
||||
objRememberedValue = (Function0) new Function0<Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.utils.UtilsScreenKt$UtilsScreen$8$1$1$1$1
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public /* bridge */ /* synthetic */ Unit invoke() {
|
||||
invoke2();
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */
|
||||
public final void invoke2() {
|
||||
utilAction.getAction().invoke();
|
||||
}
|
||||
};
|
||||
composer.updateRememberedValue(objRememberedValue);
|
||||
}
|
||||
composer.endReplaceGroup();
|
||||
Modifier modifierM298clickableoSLSa3U$default = ClickableKt.m298clickableoSLSa3U$default(modifierFillMaxWidth$default, false, null, null, null, (Function0) objRememberedValue, 15, null);
|
||||
composer.startReplaceGroup(5004770);
|
||||
boolean zChanged2 = composer.changed(utilAction);
|
||||
Object objRememberedValue2 = composer.rememberedValue();
|
||||
if (zChanged2 || objRememberedValue2 == Composer.INSTANCE.getEmpty()) {
|
||||
objRememberedValue2 = (Function1) new Function1<SemanticsPropertyReceiver, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.utils.UtilsScreenKt$UtilsScreen$8$1$1$2$1
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public /* bridge */ /* synthetic */ Unit invoke(SemanticsPropertyReceiver semanticsPropertyReceiver) {
|
||||
invoke2(semanticsPropertyReceiver);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */
|
||||
public final void invoke2(SemanticsPropertyReceiver clearAndSetSemantics) {
|
||||
Intrinsics.checkNotNullParameter(clearAndSetSemantics, "$this$clearAndSetSemantics");
|
||||
SemanticsPropertiesKt.setContentDescription(clearAndSetSemantics, utilAction.getLabel() + ". Toca para acceder.");
|
||||
SemanticsPropertiesKt.m6444setRolekuIjeqM(clearAndSetSemantics, Role.INSTANCE.m6425getButtono7Vup1c());
|
||||
}
|
||||
};
|
||||
composer.updateRememberedValue(objRememberedValue2);
|
||||
}
|
||||
composer.endReplaceGroup();
|
||||
CardKt.Card(SemanticsModifierKt.clearAndSetSemantics(modifierM298clickableoSLSa3U$default, (Function1) objRememberedValue2), RoundedCornerShapeKt.m1197RoundedCornerShape0680j_4(Dp.m7215constructorimpl(8)), CardDefaults.INSTANCE.m1938cardColorsro_MJ88(MaterialTheme.INSTANCE.getColorScheme(composer, MaterialTheme.$stable).getSurface(), 0L, 0L, 0L, composer, CardDefaults.$stable << 12, 14), null, null, ComposableLambdaKt.rememberComposableLambda(-1525903490, true, new Function3<ColumnScope, Composer, Integer, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.utils.UtilsScreenKt$UtilsScreen$8$1$1$3
|
||||
@Override // kotlin.jvm.functions.Function3
|
||||
public /* bridge */ /* synthetic */ Unit invoke(ColumnScope columnScope, Composer composer2, Integer num) {
|
||||
invoke(columnScope, composer2, num.intValue());
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
public final void invoke(ColumnScope Card, Composer composer2, int i4) {
|
||||
Intrinsics.checkNotNullParameter(Card, "$this$Card");
|
||||
if ((i4 & 17) == 16 && composer2.getSkipping()) {
|
||||
composer2.skipToGroupEnd();
|
||||
return;
|
||||
}
|
||||
if (ComposerKt.isTraceInProgress()) {
|
||||
ComposerKt.traceEventStart(-1525903490, i4, -1, "com.sistemasolton.itranvias.home.presentation.utils.UtilsScreen.<anonymous>.<anonymous>.<anonymous>.<anonymous> (UtilsScreen.kt:223)");
|
||||
}
|
||||
Modifier modifierM832padding3ABfNKs = PaddingKt.m832padding3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(16));
|
||||
Alignment.Vertical centerVertically = Alignment.INSTANCE.getCenterVertically();
|
||||
UtilAction utilAction2 = utilAction;
|
||||
ComposerKt.sourceInformationMarkerStart(composer2, 844473419, "CC(Row)N(modifier,horizontalArrangement,verticalAlignment,content)99@5125L58,100@5188L131:Row.kt#2w3rfo");
|
||||
MeasurePolicy measurePolicyRowMeasurePolicy = RowKt.rowMeasurePolicy(Arrangement.INSTANCE.getStart(), centerVertically, composer2, 48);
|
||||
ComposerKt.sourceInformationMarkerStart(composer2, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
|
||||
int iHashCode = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer2, 0));
|
||||
CompositionLocalMap currentCompositionLocalMap = composer2.getCurrentCompositionLocalMap();
|
||||
Modifier modifierMaterializeModifier = ComposedModifierKt.materializeModifier(composer2, modifierM832padding3ABfNKs);
|
||||
Function0<ComposeUiNode> constructor = ComposeUiNode.INSTANCE.getConstructor();
|
||||
ComposerKt.sourceInformationMarkerStart(composer2, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
|
||||
if (!(composer2.getApplier() instanceof Applier)) {
|
||||
ComposablesKt.invalidApplier();
|
||||
}
|
||||
composer2.startReusableNode();
|
||||
if (composer2.getInserting()) {
|
||||
composer2.createNode(constructor);
|
||||
} else {
|
||||
composer2.useNode();
|
||||
}
|
||||
Composer composerM3820constructorimpl = Updater.m3820constructorimpl(composer2);
|
||||
Updater.m3827setimpl(composerM3820constructorimpl, measurePolicyRowMeasurePolicy, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
|
||||
Updater.m3827setimpl(composerM3820constructorimpl, currentCompositionLocalMap, ComposeUiNode.INSTANCE.getSetResolvedCompositionLocals());
|
||||
Function2<ComposeUiNode, Integer, Unit> setCompositeKeyHash = ComposeUiNode.INSTANCE.getSetCompositeKeyHash();
|
||||
if (composerM3820constructorimpl.getInserting() || !Intrinsics.areEqual(composerM3820constructorimpl.rememberedValue(), Integer.valueOf(iHashCode))) {
|
||||
composerM3820constructorimpl.updateRememberedValue(Integer.valueOf(iHashCode));
|
||||
composerM3820constructorimpl.apply(Integer.valueOf(iHashCode), setCompositeKeyHash);
|
||||
}
|
||||
Updater.m3827setimpl(composerM3820constructorimpl, modifierMaterializeModifier, ComposeUiNode.INSTANCE.getSetModifier());
|
||||
ComposerKt.sourceInformationMarkerStart(composer2, 1456264949, "C101@5233L9:Row.kt#2w3rfo");
|
||||
RowScopeInstance rowScopeInstance = RowScopeInstance.INSTANCE;
|
||||
IconKt.m2260Iconww6aTOc(utilAction2.getIcon(), (String) null, (Modifier) null, ColorKt.getRedTranvias(), composer2, 3120, 4);
|
||||
SpacerKt.Spacer(SizeKt.m889width3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(12)), composer2, 6);
|
||||
TextKt.m2803Text4IGK_g(utilAction2.getLabel(), (Modifier) null, MaterialTheme.INSTANCE.getColorScheme(composer2, MaterialTheme.$stable).getOnSurface(), 0L, (FontStyle) null, FontWeight.INSTANCE.getSemiBold(), (FontFamily) null, 0L, (TextDecoration) null, (TextAlign) null, 0L, 0, false, 0, 0, (Function1<? super TextLayoutResult, Unit>) null, (TextStyle) null, composer2, ProfileVerifier.CompilationStatus.RESULT_CODE_ERROR_CANT_WRITE_PROFILE_VERIFICATION_RESULT_CACHE_FILE, 0, 131034);
|
||||
ComposerKt.sourceInformationMarkerEnd(composer2);
|
||||
composer2.endNode();
|
||||
ComposerKt.sourceInformationMarkerEnd(composer2);
|
||||
ComposerKt.sourceInformationMarkerEnd(composer2);
|
||||
ComposerKt.sourceInformationMarkerEnd(composer2);
|
||||
if (ComposerKt.isTraceInProgress()) {
|
||||
ComposerKt.traceEventEnd();
|
||||
}
|
||||
}
|
||||
}, composer, 54), composer, ProfileVerifier.CompilationStatus.RESULT_CODE_ERROR_CANT_WRITE_PROFILE_VERIFICATION_RESULT_CACHE_FILE, 24);
|
||||
composer.endReplaceGroup();
|
||||
if (ComposerKt.isTraceInProgress()) {
|
||||
ComposerKt.traceEventEnd();
|
||||
}
|
||||
}
|
||||
}));
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
package com.sistemasolton.itranvias.home.presentation.utils;
|
||||
|
||||
import com.sistemasolton.itranvias.home.data.remote.dto.infodto.InfoDto;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* JADX INFO: compiled from: UtilsState.kt */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0011\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B=\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0003\u0012\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0006\u0012\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\b\u0012\b\b\u0002\u0010\t\u001a\u00020\u0003¢\u0006\u0004\b\n\u0010\u000bJ\t\u0010\u0011\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u0013\u001a\u0004\u0018\u00010\u0006HÆ\u0003J\u000b\u0010\u0014\u001a\u0004\u0018\u00010\bHÆ\u0003J\t\u0010\u0015\u001a\u00020\u0003HÆ\u0003J?\u0010\u0016\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u00062\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\b2\b\b\u0002\u0010\t\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\u0017\u001a\u00020\u00032\b\u0010\u0018\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0019\u001a\u00020\u001aHÖ\u0001J\t\u0010\u001b\u001a\u00020\u0006HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0002\u0010\fR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0004\u0010\fR\u0013\u0010\u0005\u001a\u0004\u0018\u00010\u0006¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0013\u0010\u0007\u001a\u0004\u0018\u00010\b¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\t\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\f¨\u0006\u001c"}, d2 = {"Lcom/sistemasolton/itranvias/home/presentation/utils/UtilsState;", "", "isLoading", "", "isError", "errorMessage", "", "infoDto", "Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;", "isLoadingLanguageChange", "<init>", "(ZZLjava/lang/String;Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;Z)V", "()Z", "getErrorMessage", "()Ljava/lang/String;", "getInfoDto", "()Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;", "component1", "component2", "component3", "component4", "component5", "copy", "equals", "other", "hashCode", "", "toString", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
|
||||
public final /* data */ class UtilsState {
|
||||
public static final int $stable = 8;
|
||||
private final String errorMessage;
|
||||
private final InfoDto infoDto;
|
||||
private final boolean isError;
|
||||
private final boolean isLoading;
|
||||
private final boolean isLoadingLanguageChange;
|
||||
|
||||
public UtilsState() {
|
||||
this(false, false, null, null, false, 31, null);
|
||||
}
|
||||
|
||||
public static /* synthetic */ UtilsState copy$default(UtilsState utilsState, boolean z, boolean z2, String str, InfoDto infoDto, boolean z3, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
z = utilsState.isLoading;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
z2 = utilsState.isError;
|
||||
}
|
||||
boolean z4 = z2;
|
||||
if ((i & 4) != 0) {
|
||||
str = utilsState.errorMessage;
|
||||
}
|
||||
String str2 = str;
|
||||
if ((i & 8) != 0) {
|
||||
infoDto = utilsState.infoDto;
|
||||
}
|
||||
InfoDto infoDto2 = infoDto;
|
||||
if ((i & 16) != 0) {
|
||||
z3 = utilsState.isLoadingLanguageChange;
|
||||
}
|
||||
return utilsState.copy(z, z4, str2, infoDto2, z3);
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: component1, reason: from getter */
|
||||
public final boolean getIsLoading() {
|
||||
return this.isLoading;
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: component2, reason: from getter */
|
||||
public final boolean getIsError() {
|
||||
return this.isError;
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: component3, reason: from getter */
|
||||
public final String getErrorMessage() {
|
||||
return this.errorMessage;
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: component4, reason: from getter */
|
||||
public final InfoDto getInfoDto() {
|
||||
return this.infoDto;
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: component5, reason: from getter */
|
||||
public final boolean getIsLoadingLanguageChange() {
|
||||
return this.isLoadingLanguageChange;
|
||||
}
|
||||
|
||||
public final UtilsState copy(boolean isLoading, boolean isError, String errorMessage, InfoDto infoDto, boolean isLoadingLanguageChange) {
|
||||
return new UtilsState(isLoading, isError, errorMessage, infoDto, isLoadingLanguageChange);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof UtilsState)) {
|
||||
return false;
|
||||
}
|
||||
UtilsState utilsState = (UtilsState) other;
|
||||
return this.isLoading == utilsState.isLoading && this.isError == utilsState.isError && Intrinsics.areEqual(this.errorMessage, utilsState.errorMessage) && Intrinsics.areEqual(this.infoDto, utilsState.infoDto) && this.isLoadingLanguageChange == utilsState.isLoadingLanguageChange;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int iHashCode = ((Boolean.hashCode(this.isLoading) * 31) + Boolean.hashCode(this.isError)) * 31;
|
||||
String str = this.errorMessage;
|
||||
int iHashCode2 = (iHashCode + (str == null ? 0 : str.hashCode())) * 31;
|
||||
InfoDto infoDto = this.infoDto;
|
||||
return ((iHashCode2 + (infoDto != null ? infoDto.hashCode() : 0)) * 31) + Boolean.hashCode(this.isLoadingLanguageChange);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "UtilsState(isLoading=" + this.isLoading + ", isError=" + this.isError + ", errorMessage=" + this.errorMessage + ", infoDto=" + this.infoDto + ", isLoadingLanguageChange=" + this.isLoadingLanguageChange + ")";
|
||||
}
|
||||
|
||||
public UtilsState(boolean z, boolean z2, String str, InfoDto infoDto, boolean z3) {
|
||||
this.isLoading = z;
|
||||
this.isError = z2;
|
||||
this.errorMessage = str;
|
||||
this.infoDto = infoDto;
|
||||
this.isLoadingLanguageChange = z3;
|
||||
}
|
||||
|
||||
public /* synthetic */ UtilsState(boolean z, boolean z2, String str, InfoDto infoDto, boolean z3, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this((i & 1) != 0 ? false : z, (i & 2) != 0 ? false : z2, (i & 4) != 0 ? null : str, (i & 8) != 0 ? null : infoDto, (i & 16) != 0 ? false : z3);
|
||||
}
|
||||
|
||||
public final boolean isLoading() {
|
||||
return this.isLoading;
|
||||
}
|
||||
|
||||
public final boolean isError() {
|
||||
return this.isError;
|
||||
}
|
||||
|
||||
public final String getErrorMessage() {
|
||||
return this.errorMessage;
|
||||
}
|
||||
|
||||
public final InfoDto getInfoDto() {
|
||||
return this.infoDto;
|
||||
}
|
||||
|
||||
public final boolean isLoadingLanguageChange() {
|
||||
return this.isLoadingLanguageChange;
|
||||
}
|
||||
}
|
||||
+279
@@ -0,0 +1,279 @@
|
||||
package com.sistemasolton.itranvias.home.presentation.utils;
|
||||
|
||||
import androidx.compose.runtime.MutableState;
|
||||
import androidx.compose.runtime.SnapshotStateKt__SnapshotStateKt;
|
||||
import androidx.core.view.MotionEventCompat;
|
||||
import androidx.lifecycle.ViewModel;
|
||||
import androidx.lifecycle.ViewModelKt;
|
||||
import com.sistemasolton.itranvias.home.data.remote.dto.infodto.InfoDto;
|
||||
import com.sistemasolton.itranvias.home.domain.usecase.ClearStopHistoryUseCase;
|
||||
import com.sistemasolton.itranvias.home.domain.usecase.GetInfoUseCase;
|
||||
import com.sistemasolton.itranvias.home.domain.usecase.SaveInfoLocalUseCase;
|
||||
import com.sistemasolton.itranvias.home.domain.usecase.linesfavorites.DeleteAllFavoriteLinesUseCase;
|
||||
import com.sistemasolton.itranvias.home.domain.usecase.stopfavorites.DeleteAllStopsFavoriteUseCase;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.DebugMetadata;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlinx.coroutines.BuildersKt__Builders_commonKt;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
|
||||
/* JADX INFO: compiled from: UtilsViewModel.kt */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@Metadata(d1 = {"\u0000@\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0010\u0002\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0000\b\u0007\u0018\u00002\u00020\u0001B/\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\t\u0012\u0006\u0010\n\u001a\u00020\u000b¢\u0006\u0004\b\f\u0010\rJ\u0006\u0010\u0019\u001a\u00020\u001aJ\u0006\u0010\u001b\u001a\u00020\u001aJ\u0006\u0010\u001c\u001a\u00020\u001aJ\u000e\u0010\u001d\u001a\u00020\u001a2\u0006\u0010\u001e\u001a\u00020\u001fR\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0004\u001a\u00020\u0005X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0007X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\b\u001a\u00020\tX\u0082\u0004¢\u0006\u0002\n\u0000R\u0011\u0010\n\u001a\u00020\u000b¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000fR+\u0010\u0012\u001a\u00020\u00112\u0006\u0010\u0010\u001a\u00020\u00118F@BX\u0086\u008e\u0002¢\u0006\u0012\n\u0004\b\u0017\u0010\u0018\u001a\u0004\b\u0013\u0010\u0014\"\u0004\b\u0015\u0010\u0016¨\u0006 "}, d2 = {"Lcom/sistemasolton/itranvias/home/presentation/utils/UtilsViewModel;", "Landroidx/lifecycle/ViewModel;", "clearStopHistoryUseCase", "Lcom/sistemasolton/itranvias/home/domain/usecase/ClearStopHistoryUseCase;", "deleteAllFavoriteLinesUseCase", "Lcom/sistemasolton/itranvias/home/domain/usecase/linesfavorites/DeleteAllFavoriteLinesUseCase;", "deleteAllStopsFavoriteUseCase", "Lcom/sistemasolton/itranvias/home/domain/usecase/stopfavorites/DeleteAllStopsFavoriteUseCase;", "getInfoUseCase", "Lcom/sistemasolton/itranvias/home/domain/usecase/GetInfoUseCase;", "saveLocalInfo", "Lcom/sistemasolton/itranvias/home/domain/usecase/SaveInfoLocalUseCase;", "<init>", "(Lcom/sistemasolton/itranvias/home/domain/usecase/ClearStopHistoryUseCase;Lcom/sistemasolton/itranvias/home/domain/usecase/linesfavorites/DeleteAllFavoriteLinesUseCase;Lcom/sistemasolton/itranvias/home/domain/usecase/stopfavorites/DeleteAllStopsFavoriteUseCase;Lcom/sistemasolton/itranvias/home/domain/usecase/GetInfoUseCase;Lcom/sistemasolton/itranvias/home/domain/usecase/SaveInfoLocalUseCase;)V", "getSaveLocalInfo", "()Lcom/sistemasolton/itranvias/home/domain/usecase/SaveInfoLocalUseCase;", "<set-?>", "Lcom/sistemasolton/itranvias/home/presentation/utils/UtilsState;", "state", "getState", "()Lcom/sistemasolton/itranvias/home/presentation/utils/UtilsState;", "setState", "(Lcom/sistemasolton/itranvias/home/presentation/utils/UtilsState;)V", "state$delegate", "Landroidx/compose/runtime/MutableState;", "deleteAllFavoriteLines", "", "deleteAllFavoriteStops", "clearStopHistory", "onLanguageChanged", "language", "", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
|
||||
public final class UtilsViewModel extends ViewModel {
|
||||
public static final int $stable = 8;
|
||||
private final ClearStopHistoryUseCase clearStopHistoryUseCase;
|
||||
private final DeleteAllFavoriteLinesUseCase deleteAllFavoriteLinesUseCase;
|
||||
private final DeleteAllStopsFavoriteUseCase deleteAllStopsFavoriteUseCase;
|
||||
private final GetInfoUseCase getInfoUseCase;
|
||||
private final SaveInfoLocalUseCase saveLocalInfo;
|
||||
|
||||
/* JADX INFO: renamed from: state$delegate, reason: from kotlin metadata */
|
||||
private final MutableState state;
|
||||
|
||||
public final SaveInfoLocalUseCase getSaveLocalInfo() {
|
||||
return this.saveLocalInfo;
|
||||
}
|
||||
|
||||
public UtilsViewModel(ClearStopHistoryUseCase clearStopHistoryUseCase, DeleteAllFavoriteLinesUseCase deleteAllFavoriteLinesUseCase, DeleteAllStopsFavoriteUseCase deleteAllStopsFavoriteUseCase, GetInfoUseCase getInfoUseCase, SaveInfoLocalUseCase saveLocalInfo) {
|
||||
Intrinsics.checkNotNullParameter(clearStopHistoryUseCase, "clearStopHistoryUseCase");
|
||||
Intrinsics.checkNotNullParameter(deleteAllFavoriteLinesUseCase, "deleteAllFavoriteLinesUseCase");
|
||||
Intrinsics.checkNotNullParameter(deleteAllStopsFavoriteUseCase, "deleteAllStopsFavoriteUseCase");
|
||||
Intrinsics.checkNotNullParameter(getInfoUseCase, "getInfoUseCase");
|
||||
Intrinsics.checkNotNullParameter(saveLocalInfo, "saveLocalInfo");
|
||||
this.clearStopHistoryUseCase = clearStopHistoryUseCase;
|
||||
this.deleteAllFavoriteLinesUseCase = deleteAllFavoriteLinesUseCase;
|
||||
this.deleteAllStopsFavoriteUseCase = deleteAllStopsFavoriteUseCase;
|
||||
this.getInfoUseCase = getInfoUseCase;
|
||||
this.saveLocalInfo = saveLocalInfo;
|
||||
this.state = SnapshotStateKt__SnapshotStateKt.mutableStateOf$default(new UtilsState(false, false, null, null, false, 31, null), null, 2, null);
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public final void setState(UtilsState utilsState) {
|
||||
this.state.setValue(utilsState);
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public final UtilsState getState() {
|
||||
return (UtilsState) this.state.getValue();
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: com.sistemasolton.itranvias.home.presentation.utils.UtilsViewModel$deleteAllFavoriteLines$1, reason: invalid class name and case insensitive filesystem */
|
||||
/* JADX INFO: compiled from: UtilsViewModel.kt */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\n"}, d2 = {"<anonymous>", "", "Lkotlinx/coroutines/CoroutineScope;"}, k = 3, mv = {2, 1, 0}, xi = 48)
|
||||
@DebugMetadata(c = "com.sistemasolton.itranvias.home.presentation.utils.UtilsViewModel$deleteAllFavoriteLines$1", f = "UtilsViewModel.kt", i = {}, l = {29}, m = "invokeSuspend", n = {}, s = {})
|
||||
static final class C06561 extends SuspendLambda implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
|
||||
int label;
|
||||
|
||||
C06561(Continuation<? super C06561> continuation) {
|
||||
super(2, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
||||
return UtilsViewModel.this.new C06561(continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
|
||||
return ((C06561) create(coroutineScope, continuation)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) throws Throwable {
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.label;
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
this.label = 1;
|
||||
if (UtilsViewModel.this.deleteAllFavoriteLinesUseCase.invoke(this) == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
|
||||
public final void deleteAllFavoriteLines() {
|
||||
BuildersKt__Builders_commonKt.launch$default(ViewModelKt.getViewModelScope(this), null, null, new C06561(null), 3, null);
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: com.sistemasolton.itranvias.home.presentation.utils.UtilsViewModel$deleteAllFavoriteStops$1, reason: invalid class name and case insensitive filesystem */
|
||||
/* JADX INFO: compiled from: UtilsViewModel.kt */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\n"}, d2 = {"<anonymous>", "", "Lkotlinx/coroutines/CoroutineScope;"}, k = 3, mv = {2, 1, 0}, xi = 48)
|
||||
@DebugMetadata(c = "com.sistemasolton.itranvias.home.presentation.utils.UtilsViewModel$deleteAllFavoriteStops$1", f = "UtilsViewModel.kt", i = {}, l = {MotionEventCompat.AXIS_GENERIC_4}, m = "invokeSuspend", n = {}, s = {})
|
||||
static final class C06571 extends SuspendLambda implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
|
||||
int label;
|
||||
|
||||
C06571(Continuation<? super C06571> continuation) {
|
||||
super(2, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
||||
return UtilsViewModel.this.new C06571(continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
|
||||
return ((C06571) create(coroutineScope, continuation)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) throws Throwable {
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.label;
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
this.label = 1;
|
||||
if (UtilsViewModel.this.deleteAllStopsFavoriteUseCase.invoke(this) == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
|
||||
public final void deleteAllFavoriteStops() {
|
||||
BuildersKt__Builders_commonKt.launch$default(ViewModelKt.getViewModelScope(this), null, null, new C06571(null), 3, null);
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: com.sistemasolton.itranvias.home.presentation.utils.UtilsViewModel$clearStopHistory$1, reason: invalid class name */
|
||||
/* JADX INFO: compiled from: UtilsViewModel.kt */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\n"}, d2 = {"<anonymous>", "", "Lkotlinx/coroutines/CoroutineScope;"}, k = 3, mv = {2, 1, 0}, xi = 48)
|
||||
@DebugMetadata(c = "com.sistemasolton.itranvias.home.presentation.utils.UtilsViewModel$clearStopHistory$1", f = "UtilsViewModel.kt", i = {}, l = {40}, m = "invokeSuspend", n = {}, s = {})
|
||||
static final class AnonymousClass1 extends SuspendLambda implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
|
||||
int label;
|
||||
|
||||
AnonymousClass1(Continuation<? super AnonymousClass1> continuation) {
|
||||
super(2, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
||||
return UtilsViewModel.this.new AnonymousClass1(continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
|
||||
return ((AnonymousClass1) create(coroutineScope, continuation)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) throws Throwable {
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.label;
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
this.label = 1;
|
||||
if (UtilsViewModel.this.clearStopHistoryUseCase.invoke(this) == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
|
||||
public final void clearStopHistory() {
|
||||
BuildersKt__Builders_commonKt.launch$default(ViewModelKt.getViewModelScope(this), null, null, new AnonymousClass1(null), 3, null);
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: com.sistemasolton.itranvias.home.presentation.utils.UtilsViewModel$onLanguageChanged$1, reason: invalid class name and case insensitive filesystem */
|
||||
/* JADX INFO: compiled from: UtilsViewModel.kt */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\n"}, d2 = {"<anonymous>", "", "Lkotlinx/coroutines/CoroutineScope;"}, k = 3, mv = {2, 1, 0}, xi = 48)
|
||||
@DebugMetadata(c = "com.sistemasolton.itranvias.home.presentation.utils.UtilsViewModel$onLanguageChanged$1", f = "UtilsViewModel.kt", i = {}, l = {50, 53}, m = "invokeSuspend", n = {}, s = {})
|
||||
static final class C06581 extends SuspendLambda implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
|
||||
final /* synthetic */ String $language;
|
||||
int label;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
C06581(String str, Continuation<? super C06581> continuation) {
|
||||
super(2, continuation);
|
||||
this.$language = str;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
||||
return UtilsViewModel.this.new C06581(this.$language, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
|
||||
return ((C06581) create(coroutineScope, continuation)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) throws Throwable {
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.label;
|
||||
try {
|
||||
try {
|
||||
} catch (Exception e) {
|
||||
System.out.println((Object) ("Error al actualizar info: " + e.getMessage()));
|
||||
}
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
UtilsViewModel utilsViewModel = UtilsViewModel.this;
|
||||
utilsViewModel.setState(UtilsState.copy$default(utilsViewModel.getState(), false, false, null, null, true, 15, null));
|
||||
this.label = 1;
|
||||
obj = UtilsViewModel.this.getInfoUseCase.invoke(this.$language, this);
|
||||
if (obj == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
} else {
|
||||
if (i != 1) {
|
||||
if (i != 2) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
System.out.println((Object) ("Info actualizada y guardada en local para idioma " + this.$language));
|
||||
UtilsViewModel utilsViewModel2 = UtilsViewModel.this;
|
||||
utilsViewModel2.setState(UtilsState.copy$default(utilsViewModel2.getState(), false, false, null, null, false, 15, null));
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
}
|
||||
SaveInfoLocalUseCase saveLocalInfo = UtilsViewModel.this.getSaveLocalInfo();
|
||||
this.label = 2;
|
||||
if (saveLocalInfo.invoke((InfoDto) obj, this) == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
System.out.println((Object) ("Info actualizada y guardada en local para idioma " + this.$language));
|
||||
UtilsViewModel utilsViewModel22 = UtilsViewModel.this;
|
||||
utilsViewModel22.setState(UtilsState.copy$default(utilsViewModel22.getState(), false, false, null, null, false, 15, null));
|
||||
return Unit.INSTANCE;
|
||||
} catch (Throwable th) {
|
||||
UtilsViewModel utilsViewModel3 = UtilsViewModel.this;
|
||||
utilsViewModel3.setState(UtilsState.copy$default(utilsViewModel3.getState(), false, false, null, null, false, 15, null));
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final void onLanguageChanged(String language) {
|
||||
Intrinsics.checkNotNullParameter(language, "language");
|
||||
BuildersKt__Builders_commonKt.launch$default(ViewModelKt.getViewModelScope(this), null, null, new C06581(language, null), 3, null);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user