From 3762a323fd726a0dba72ec0bd3c1ea76cd4f9d3e Mon Sep 17 00:00:00 2001 From: vok Date: Thu, 20 Jun 2019 09:02:06 +0700 Subject: [PATCH] remove duplicate ReactVideoPackage() --- .../src/main/java/com/videoplayer/MainApplication.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/examples/basic/android/app/src/main/java/com/videoplayer/MainApplication.java b/examples/basic/android/app/src/main/java/com/videoplayer/MainApplication.java index 8e29207c..e9f64322 100644 --- a/examples/basic/android/app/src/main/java/com/videoplayer/MainApplication.java +++ b/examples/basic/android/app/src/main/java/com/videoplayer/MainApplication.java @@ -2,10 +2,8 @@ package com.videoplayer; import android.app.Application; -import com.brentvatne.react.ReactVideoPackage; import com.facebook.react.ReactApplication; import com.brentvatne.react.ReactVideoPackage; -import com.brentvatne.react.ReactVideoPackage; import com.facebook.react.ReactNativeHost; import com.facebook.react.ReactPackage; import com.facebook.react.shell.MainReactPackage; @@ -26,10 +24,8 @@ public class MainApplication extends Application implements ReactApplication { protected List getPackages() { return Arrays.asList( new MainReactPackage(), - new ReactVideoPackage(), - new ReactVideoPackage(), - new ReactVideoPackage() - ); + new ReactVideoPackage() + ); } };