We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37c301e commit 0df720cCopy full SHA for 0df720c
omegatypes/src/main/java/com/omega_r/libs/omegatypes/Text.kt
@@ -319,4 +319,6 @@ operator fun Text.plus(string: String): Text {
319
320
fun String.toText(textStyle: TextStyle? = null) = Text.from(this, textStyle)
321
322
+fun CharSequence.toText(textStyle: TextStyle? = null) = Text.from(this, textStyle)
323
+
324
operator fun Text.plus(textStyle: TextStyle) = Text.from(this, textStyle = textStyle)
0 commit comments