forked from Juby210/discord-jadx
23 lines
1.2 KiB
Java
23 lines
1.2 KiB
Java
package com.discord.widgets.guilds.invite;
|
|
|
|
import android.widget.RadioGroup;
|
|
import com.discord.models.domain.ModelInvite;
|
|
import d0.z.d.m;
|
|
/* compiled from: WidgetGuildInviteSettings.kt */
|
|
public final class WidgetGuildInviteSettings$configureUi$4 implements RadioGroup.OnCheckedChangeListener {
|
|
public final /* synthetic */ ModelInvite.Settings $inviteSettings;
|
|
public final /* synthetic */ WidgetGuildInviteSettings this$0;
|
|
|
|
public WidgetGuildInviteSettings$configureUi$4(WidgetGuildInviteSettings widgetGuildInviteSettings, ModelInvite.Settings settings) {
|
|
this.this$0 = widgetGuildInviteSettings;
|
|
this.$inviteSettings = settings;
|
|
}
|
|
|
|
@Override // android.widget.RadioGroup.OnCheckedChangeListener
|
|
public final void onCheckedChanged(RadioGroup radioGroup, int i) {
|
|
GuildInviteSettingsViewModel access$getViewModel$p = WidgetGuildInviteSettings.access$getViewModel$p(this.this$0);
|
|
ModelInvite.Settings mergeMaxAge = this.$inviteSettings.mergeMaxAge(i);
|
|
m.checkNotNullExpressionValue(mergeMaxAge, "inviteSettings.mergeMaxAge(checkedId)");
|
|
access$getViewModel$p.updatePendingInviteSettings(mergeMaxAge);
|
|
}
|
|
}
|