discord-jadx/app/src/main/java/com/discord/utilities/textprocessing/Rules$createBoldColoredRule...

27 lines
1016 B
Java

package com.discord.utilities.textprocessing;
import android.text.style.CharacterStyle;
import android.text.style.ForegroundColorSpan;
import android.text.style.StyleSpan;
import d0.t.n;
import d0.z.d.o;
import java.util.List;
import kotlin.jvm.functions.Function0;
/* compiled from: Rules.kt */
public final class Rules$createBoldColoredRule$1 extends o implements Function0<List<? extends CharacterStyle>> {
public final /* synthetic */ int $color;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public Rules$createBoldColoredRule$1(int i) {
super(0);
this.$color = i;
}
/* Return type fixed from 'java.util.List<android.text.style.CharacterStyle>' to match base method */
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final List<? extends CharacterStyle> mo1invoke() {
return n.listOf((Object[]) new CharacterStyle[]{new ForegroundColorSpan(this.$color), new StyleSpan(1)});
}
}