From 641c06f10d46d25defd42a89531b2104eee04920 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Thu, 12 May 2022 15:29:18 +0100 Subject: [PATCH] removing this usage for project consistency --- vector/src/main/java/im/vector/app/core/utils/SpannableUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vector/src/main/java/im/vector/app/core/utils/SpannableUtils.kt b/vector/src/main/java/im/vector/app/core/utils/SpannableUtils.kt index 292468b68f..aa1917e326 100644 --- a/vector/src/main/java/im/vector/app/core/utils/SpannableUtils.kt +++ b/vector/src/main/java/im/vector/app/core/utils/SpannableUtils.kt @@ -60,7 +60,7 @@ fun Span.bullet(text: CharSequence = "", fun String.colorTerminatingFullStop(@ColorInt color: Int): CharSequence { val fullStop = "." - return if (this.endsWith(fullStop)) { + return if (endsWith(fullStop)) { span { +this@colorTerminatingFullStop.removeSuffix(fullStop) span(fullStop) {