2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.guilds.profile;
|
|
|
|
|
2021-09-24 06:27:57 +00:00
|
|
|
import com.discord.app.AppActivity;
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.widgets.guilds.profile.WidgetGuildProfileSheetViewModel;
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.z.d.m;
|
2021-08-03 07:33:18 +00:00
|
|
|
import rx.functions.Action1;
|
|
|
|
/* compiled from: WidgetGuildProfileSheet.kt */
|
|
|
|
public final class WidgetGuildProfileSheet$configureGuildActions$$inlined$apply$lambda$5<T> implements Action1<Boolean> {
|
|
|
|
public final /* synthetic */ WidgetGuildProfileSheetViewModel.Actions $actions$inlined;
|
|
|
|
public final /* synthetic */ long $guildId$inlined;
|
|
|
|
public final /* synthetic */ WidgetGuildProfileSheet this$0;
|
|
|
|
|
|
|
|
public WidgetGuildProfileSheet$configureGuildActions$$inlined$apply$lambda$5(WidgetGuildProfileSheet widgetGuildProfileSheet, WidgetGuildProfileSheetViewModel.Actions actions, long j) {
|
|
|
|
this.this$0 = widgetGuildProfileSheet;
|
|
|
|
this.$actions$inlined = actions;
|
|
|
|
this.$guildId$inlined = j;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final void call(Boolean bool) {
|
|
|
|
WidgetGuildProfileSheetViewModel access$getViewModel$p = WidgetGuildProfileSheet.access$getViewModel$p(this.this$0);
|
2021-09-24 06:27:57 +00:00
|
|
|
AppActivity appActivity = this.this$0.getAppActivity();
|
2021-08-03 07:33:18 +00:00
|
|
|
long j = this.$guildId$inlined;
|
|
|
|
m.checkNotNullExpressionValue(bool, "checked");
|
2021-09-24 06:27:57 +00:00
|
|
|
access$getViewModel$p.setAllowDM(appActivity, j, bool.booleanValue());
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
}
|