remove decimal points from time to start values
This commit is contained in:
parent
04f1537e76
commit
5aed981049
1 changed files with 2 additions and 2 deletions
|
@ -620,8 +620,8 @@ class FilePage extends React.PureComponent {
|
|||
|
||||
let payload = { uri: uri };
|
||||
if (!isNaN(timeToStart)) {
|
||||
payload['time_to_start_seconds'] = timeToStart;
|
||||
payload['time_to_start_ms'] = timeToStartMillis;
|
||||
payload['time_to_start_seconds'] = parseInt(timeToStart, 10);
|
||||
payload['time_to_start_ms'] = parseInt(timeToStartMillis, 10);
|
||||
}
|
||||
NativeModules.Firebase.track('play', payload);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue