Skip to content

Commit e18da00

Browse files
author
Ahmed Mones
committed
remove null character from fingerprint info
1 parent e1b3bf7 commit e18da00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fingerprint/src/main/java/com/fingerprint/utils/extensions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,6 @@ internal fun ByteArray.getPixelBrightness(position: Int): Float = runCatching {
128128
return brightness
129129
}.getOrDefault(0f)
130130

131-
fun String?.removeNullCharacter() = this?.replace("\\u0000", "")
131+
fun String?.removeNullCharacter() = this?.replace("\u0000", "")
132132

133133
infix fun Byte.isEqual(other: Number) = toLong() == other.toLong()

0 commit comments

Comments
 (0)