Updated on 2026-08-14

This commit is contained in:
Tangem 2025-12-08 18:39:36 +03:00
parent 1ccd4f3b6c
commit b3ed607c1a
4 changed files with 7 additions and 27 deletions

View file

@ -1,6 +0,0 @@
package com.tangem.tap.common.extensions
fun String.removePrefixOrNull(prefix: String): String? = when {
startsWith(prefix) -> substring(prefix.length)
else -> null
}