@24i/smartapps-bigscreen-rnv-build-engine 0.17.14 → 0.17.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -164,7 +164,7 @@ class BridgeFromJavaScript(
|
|
|
164
164
|
@JavascriptInterface
|
|
165
165
|
fun bridgeJavaScriptToAndroid_GetTotalTime(): Float = runBlocking("bridgeJavaScriptToAndroid_GetTotalTime") {
|
|
166
166
|
viewModel.duration.toFloat() / 1000
|
|
167
|
-
} ?:
|
|
167
|
+
} ?: 0f
|
|
168
168
|
|
|
169
169
|
/*
|
|
170
170
|
Bridge JS 2 Android to seek to the time in seconds
|