Skip to content

Commit

Permalink
Fix compilation error.
Browse files Browse the repository at this point in the history
  • Loading branch information
sshropshire committed Jul 8, 2024
1 parent 48df641 commit ab18665
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,15 @@ private static DropInClientParams createDefaultParams(Context context, String au
customUrlScheme = dropInRequest.getCustomUrlScheme();
}

BraintreeOptions braintreeOptions =
new BraintreeOptions(context, null, customUrlScheme, authorization, clientTokenProvider, IntegrationType.DROP_IN);
BraintreeOptions braintreeOptions = new BraintreeOptions(
context,
null,
customUrlScheme,
null,
authorization,
clientTokenProvider,
IntegrationType.DROP_IN
);

BraintreeClient braintreeClient = new BraintreeClient(braintreeOptions);
return new DropInClientParams()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,15 @@ class DropInInternalClient {
private static DropInInternalClientParams createDefaultParams(Context context, String authorization, DropInRequest dropInRequest, String sessionId) {

String customUrlScheme = dropInRequest.getCustomUrlScheme();
BraintreeOptions braintreeOptions =
new BraintreeOptions(context, sessionId, customUrlScheme, authorization, null, IntegrationType.DROP_IN);
BraintreeOptions braintreeOptions = new BraintreeOptions(
context,
sessionId,
customUrlScheme,
null,
authorization,
null,
IntegrationType.DROP_IN
);

BraintreeClient braintreeClient = new BraintreeClient(braintreeOptions);

Expand Down

0 comments on commit ab18665

Please sign in to comment.