Skip to content

Commit a85d8a4

Browse files
authored
Fixed wrong parameter assignment
My bad, the url param is no longer necessary, fix #71 and pull request
1 parent f1b6974 commit a85d8a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/android/ChromeCustomTabPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ private void show(String url, @ColorInt int toolbarColor, boolean showDefaultSha
130130

131131
CustomTabsIntent customTabsIntent = builder.build();
132132

133-
String packageName = CustomTabsHelper.getPackageNameToUse(cordova.getActivity(), url);
133+
String packageName = CustomTabsHelper.getPackageNameToUse(cordova.getActivity());
134134
if ( packageName != null ) {
135135
customTabsIntent.intent.setPackage(packageName);
136136
}

0 commit comments

Comments
 (0)