Skip to content

Commit 8ec34f2

Browse files
committed
fix: refactor image marker name generation
1 parent 0e0a249 commit 8ec34f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/jimmydaddy/imagemarker/ImageMarkerManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ class ImageMarkerManager(private val context: ReactApplicationContext) : ReactCo
284284
return if (null != filename) {
285285
if (filename.endsWith(".jpg") || filename.endsWith(".png")) "$cacheDir/$filename" else "$cacheDir/$filename$ext"
286286
} else {
287-
val name = UUID.randomUUID().toString() + "image marker"
287+
val name = UUID.randomUUID().toString() + "_image_marker"
288288
"$cacheDir/$name$ext"
289289
}
290290
}

0 commit comments

Comments
 (0)