removing this usage for project consistency

This commit is contained in:
Adam Brown 2022-05-12 15:29:18 +01:00
parent 80b6b77a3a
commit 641c06f10d

View File

@ -60,7 +60,7 @@ fun Span.bullet(text: CharSequence = "",
fun String.colorTerminatingFullStop(@ColorInt color: Int): CharSequence { fun String.colorTerminatingFullStop(@ColorInt color: Int): CharSequence {
val fullStop = "." val fullStop = "."
return if (this.endsWith(fullStop)) { return if (endsWith(fullStop)) {
span { span {
+this@colorTerminatingFullStop.removeSuffix(fullStop) +this@colorTerminatingFullStop.removeSuffix(fullStop)
span(fullStop) { span(fullStop) {