Skip to content

Commit

Permalink
change PackageList usage to support new init for backwards compat, see
Browse files Browse the repository at this point in the history
  • Loading branch information
Salakar committed Mar 23, 2019
1 parent e906562 commit a58d6e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public boolean getUseDeveloperSupport() {

@Override
protected List<ReactPackage> getPackages() {
List<ReactPackage> packages = new ArrayList<>(PackageList.getPackages());
List<ReactPackage> packages = new ArrayList<>((new PackageList(this)).getPackages());
// additional non auto-detected packages can be added here, e.g.:
// packages.add(new MyReactNativePackage());
return packages;
Expand Down

0 comments on commit a58d6e6

Please sign in to comment.