Updated on 2026-08-14

This commit is contained in:
Tangem 2022-12-23 20:34:08 +04:00
parent d17f046b06
commit fdd2b563bd
121 changed files with 2218 additions and 1594 deletions

View file

@ -62,4 +62,9 @@ fun String.toQrCode(): Bitmap {
return bmp
}
fun String.urlEncode(): String = Uri.encode(this)
fun String.urlEncode(): String = Uri.encode(this)
fun String.removePrefixOrNull(prefix: String): String? = when {
startsWith(prefix) -> substring(prefix.length)
else -> null
}