30 lines
1.6 KiB
Java
30 lines
1.6 KiB
Java
package com.discord.widgets.settings.profile;
|
|
|
|
import android.graphics.Color;
|
|
import com.discord.app.AppViewModel;
|
|
import com.discord.widgets.settings.profile.EditProfileBannerSheetViewModel;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.jvm.functions.Function0;
|
|
/* compiled from: WidgetEditProfileBannerSheet.kt */
|
|
public final class WidgetEditProfileBannerSheet$viewModel$2 extends o implements Function0<AppViewModel<EditProfileBannerSheetViewModel.ViewState>> {
|
|
public final /* synthetic */ WidgetEditProfileBannerSheet this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetEditProfileBannerSheet$viewModel$2(WidgetEditProfileBannerSheet widgetEditProfileBannerSheet) {
|
|
super(0);
|
|
this.this$0 = widgetEditProfileBannerSheet;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final AppViewModel<EditProfileBannerSheetViewModel.ViewState> mo1invoke() {
|
|
String string = WidgetEditProfileBannerSheet.access$getArgumentsOrDefault$p(this.this$0).getString("ARG_DEFAULT_BANNER_COLOR_HEX");
|
|
m.checkNotNull(string);
|
|
m.checkNotNullExpressionValue(string, "argumentsOrDefault.getSt…FAULT_BANNER_COLOR_HEX)!!");
|
|
String string2 = WidgetEditProfileBannerSheet.access$getArgumentsOrDefault$p(this.this$0).getString("ARG_INITIAL_COLOR_PREVIEW_HEX");
|
|
WidgetEditProfileBannerSheet.access$setDefaultBannerColor$p(this.this$0, Color.parseColor(string));
|
|
return new EditProfileBannerSheetViewModel(string, string2, null, 4, null);
|
|
}
|
|
}
|