Updated on 2026-08-14

This commit is contained in:
Tangem 2024-09-07 17:37:25 +03:00
parent 0ad4588d2c
commit fbf91e4c6d
4 changed files with 7 additions and 13 deletions

View file

@ -1,7 +1,5 @@
package com.tangem.utils
import com.tangem.utils.StringsSigns.STARS
object StringsSigns {
const val STARS = "\u2217\u2217\u2217"

View file

@ -11,6 +11,6 @@ import com.tangem.utils.StringsSigns.STARS
*
* @return The original string if hide is false, or STARS if hide is true.
*/
fun String.orHide(hide: Boolean) : String {
fun String.orHide(hide: Boolean): String {
return if (hide) STARS else this
}
}