Merge pull request #882 from sm2017/patch-1
'Event' does not contain a constructor that takes 2 arguments ReactNativeVideo #878
This commit is contained in:
commit
bcb9d8411d
@ -328,7 +328,7 @@ namespace ReactNativeVideo
|
|||||||
private readonly JObject _eventData;
|
private readonly JObject _eventData;
|
||||||
|
|
||||||
public ReactVideoEvent(string eventName, int viewTag, JObject eventData)
|
public ReactVideoEvent(string eventName, int viewTag, JObject eventData)
|
||||||
: base(viewTag, TimeSpan.FromTicks(Environment.TickCount))
|
: base(viewTag)
|
||||||
{
|
{
|
||||||
_eventName = eventName;
|
_eventName = eventName;
|
||||||
_eventData = eventData;
|
_eventData = eventData;
|
||||||
|
@ -334,7 +334,7 @@ namespace ReactNativeVideo
|
|||||||
private readonly JObject _eventData;
|
private readonly JObject _eventData;
|
||||||
|
|
||||||
public ReactVideoEvent(string eventName, int viewTag, JObject eventData)
|
public ReactVideoEvent(string eventName, int viewTag, JObject eventData)
|
||||||
: base(viewTag, TimeSpan.FromTicks(Environment.TickCount))
|
: base(viewTag)
|
||||||
{
|
{
|
||||||
_eventName = eventName;
|
_eventName = eventName;
|
||||||
_eventData = eventData;
|
_eventData = eventData;
|
||||||
|
Loading…
Reference in New Issue
Block a user