fix(android): build warnings (#4058)

This commit is contained in:
Krzysztof Moch
2024-08-07 14:39:41 +02:00
committed by GitHub
parent 6c03d0a700
commit 899bb822a5
3 changed files with 5 additions and 5 deletions

View File

@@ -42,6 +42,7 @@ class VideoManagerModule(reactContext: ReactApplicationContext?) : ReactContextB
}
@ReactMethod
@Suppress("UNUSED_PARAMETER") // codegen compatibility
fun seekCmd(reactTag: Int, time: Float, tolerance: Float) {
performOnPlayerView(reactTag) {
it?.seekTo((time * 1000f).roundToInt().toLong())