Updated on 2026-08-14
This commit is contained in:
parent
0ad4588d2c
commit
fbf91e4c6d
4 changed files with 7 additions and 13 deletions
|
|
@ -262,6 +262,6 @@ private fun formatAnnotated(rawString: String): AnnotatedString {
|
|||
*
|
||||
* @return The original reference if hide is false, or reference with STARS if hide is true.
|
||||
*/
|
||||
fun TextReference.orMaskWithStars(mask: Boolean) : TextReference {
|
||||
fun TextReference.orMaskWithStars(mask: Boolean): TextReference {
|
||||
return if (mask) stringReference(STARS) else this
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue