27 lines
1 KiB
Java
27 lines
1 KiB
Java
|
package com.discord.utilities.textprocessing;
|
||
|
|
||
|
import android.text.style.CharacterStyle;
|
||
|
import android.text.style.ForegroundColorSpan;
|
||
|
import android.text.style.StrikethroughSpan;
|
||
|
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$createStrikethroughColoredRule$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$createStrikethroughColoredRule$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 StrikethroughSpan()});
|
||
|
}
|
||
|
}
|