discord-jadx/app/src/main/java/com/discord/widgets/settings/profile/WidgetSettingsUserProfile$o...

26 lines
1.1 KiB
Java

package com.discord.widgets.settings.profile;
import android.content.Context;
import android.view.View;
import com.discord.utilities.dimmer.DimmerView;
import d0.z.d.m;
/* compiled from: WidgetSettingsUserProfile.kt */
public final class WidgetSettingsUserProfile$onViewBound$2 implements View.OnClickListener {
public final /* synthetic */ View $view;
public final /* synthetic */ WidgetSettingsUserProfile this$0;
public WidgetSettingsUserProfile$onViewBound$2(WidgetSettingsUserProfile widgetSettingsUserProfile, View view) {
this.this$0 = widgetSettingsUserProfile;
this.$view = view;
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
SettingsUserProfileViewModel access$getViewModel$p = WidgetSettingsUserProfile.access$getViewModel$p(this.this$0);
Context context = this.$view.getContext();
m.checkNotNullExpressionValue(context, "view.context");
access$getViewModel$p.saveUserChanges(context);
DimmerView.setDimmed$default(WidgetSettingsUserProfile.access$getBinding$p(this.this$0).g, true, false, 2, null);
}
}