-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change time variable type to float #3
Conversation
174ba26
to
31a24fb
Compare
@@ -123,7 +123,7 @@ public void playerViewDidBecomeReady() { | |||
public void didChangeToSeeking(int milliSeconds) { | |||
WritableMap event = Arguments.createMap(); | |||
event.putString("state", "seeking"); | |||
event.putInt("currentTime", milliSeconds / 1000); | |||
event.putDouble("currentTime", milliSeconds / 1000.0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No exists putFloat
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked. Thanks! Little interesting that the original author used sometime milliSecs and sometimes secs.
@ohtangza I will merge this pull request without your review to test this! (Test is little inconvenient since podspec...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked all the changes!
@@ -123,7 +123,7 @@ public void playerViewDidBecomeReady() { | |||
public void didChangeToSeeking(int milliSeconds) { | |||
WritableMap event = Arguments.createMap(); | |||
event.putString("state", "seeking"); | |||
event.putInt("currentTime", milliSeconds / 1000); | |||
event.putDouble("currentTime", milliSeconds / 1000.0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked. Thanks! Little interesting that the original author used sometime milliSecs and sometimes secs.
I changed all of variable type related to time to float.