@24i/smartapps-bigscreen-rnv-build-engine 0.17.13 → 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.
@@ -162,9 +162,9 @@ class BridgeFromJavaScript(
162
162
  Bridge JS 2 Android to get the total time
163
163
  */
164
164
  @JavascriptInterface
165
- fun bridgeJavaScriptToAndroid_GetTotalTime(): Int = runBlocking("bridgeJavaScriptToAndroid_GetTotalTime") {
166
- viewModel.duration.roundToInt() / 1000
167
- } ?: 0
165
+ fun bridgeJavaScriptToAndroid_GetTotalTime(): Float = runBlocking("bridgeJavaScriptToAndroid_GetTotalTime") {
166
+ viewModel.duration.toFloat() / 1000
167
+ } ?: 0f
168
168
 
169
169
  /*
170
170
  Bridge JS 2 Android to seek to the time in seconds
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@24i/smartapps-bigscreen-rnv-build-engine",
3
- "version": "0.17.13",
3
+ "version": "0.17.15",
4
4
  "description": "Package with build engine for SmartApps BIGscreen projects...",
5
5
  "main": "dist/src/index.js",
6
6
  "scripts": {