feat(android): handle increment forward and rewind buttons (#3818)
* feat(android): handle increment forward and rewind buttons * fix: function name for get seekIncrementMS
This commit is contained in:
committed by
GitHub
parent
46e12e0b94
commit
5059e7a7f1
@@ -5,6 +5,7 @@ import com.facebook.react.bridge.ReadableMap
|
||||
|
||||
class ControlsConfig {
|
||||
var hideSeekBar: Boolean = false
|
||||
var seekIncrementMS: Int = 10000
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@@ -13,6 +14,7 @@ class ControlsConfig {
|
||||
|
||||
if (src != null) {
|
||||
config.hideSeekBar = ReactBridgeUtils.safeGetBool(src, "hideSeekBar", false)
|
||||
config.seekIncrementMS = ReactBridgeUtils.safeGetInt(src, "seekIncrementMS", 10000)
|
||||
}
|
||||
|
||||
return config
|
||||
|
Reference in New Issue
Block a user