feat: More fine grained time display

This commit is contained in:
Linnea Gräf
2024-11-10 17:32:05 +01:00
parent 4d0a73030d
commit d1241fb0d9
2 changed files with 54 additions and 48 deletions

View File

@@ -90,7 +90,7 @@ fun CharSequence.removeColorCodes(keepNonColorCodes: Boolean = false): String {
}
val Text.unformattedString: String
get() = string.removeColorCodes()
get() = string.removeColorCodes() // TODO: maybe shortcircuit this with .visit
val Text.directLiteralStringContent: String? get() = (this.content as? PlainTextContent)?.string()