106 lines
3 KiB
Smali
106 lines
3 KiB
Smali
.class public final Lcom/discord/widgets/servers/WidgetServerSettingsEditRole$setupActionBar$1;
|
|
.super Ly/n/c/k;
|
|
.source "WidgetServerSettingsEditRole.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function2;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/servers/WidgetServerSettingsEditRole;->setupActionBar(Lcom/discord/widgets/servers/WidgetServerSettingsEditRole$Model;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ly/n/c/k;",
|
|
"Lkotlin/jvm/functions/Function2<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/Integer;",
|
|
"Landroid/text/SpannableStringBuilder;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final INSTANCE:Lcom/discord/widgets/servers/WidgetServerSettingsEditRole$setupActionBar$1;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/discord/widgets/servers/WidgetServerSettingsEditRole$setupActionBar$1;
|
|
|
|
invoke-direct {v0}, Lcom/discord/widgets/servers/WidgetServerSettingsEditRole$setupActionBar$1;-><init>()V
|
|
|
|
sput-object v0, Lcom/discord/widgets/servers/WidgetServerSettingsEditRole$setupActionBar$1;->INSTANCE:Lcom/discord/widgets/servers/WidgetServerSettingsEditRole$setupActionBar$1;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x2
|
|
|
|
invoke-direct {p0, v0}, Ly/n/c/k;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final invoke(Ljava/lang/String;I)Landroid/text/SpannableStringBuilder;
|
|
.locals 2
|
|
.param p2 # I
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "text"
|
|
|
|
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/text/SpannableStringBuilder;
|
|
|
|
invoke-direct {v0, p1}, Landroid/text/SpannableStringBuilder;-><init>(Ljava/lang/CharSequence;)V
|
|
|
|
new-instance p1, Landroid/text/style/ForegroundColorSpan;
|
|
|
|
invoke-direct {p1, p2}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V
|
|
|
|
invoke-virtual {v0}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result p2
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {v0, p1, v1, p2, v1}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
check-cast p2, Ljava/lang/Number;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Number;->intValue()I
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p0, p1, p2}, Lcom/discord/widgets/servers/WidgetServerSettingsEditRole$setupActionBar$1;->invoke(Ljava/lang/String;I)Landroid/text/SpannableStringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|