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:
Hampton Maxwell 2018-05-22 16:58:56 -07:00 committed by GitHub
commit bcb9d8411d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;