Skip to content

Commit

Permalink
fix: could not initialPhoneNumber without initialPhoneContryPrefix on…
Browse files Browse the repository at this point in the history
… Android
  • Loading branch information
jwthanh authored and aschenkel committed Jul 13, 2018
1 parent 0487aef commit ac93c98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ private AccountKitConfiguration.AccountKitConfigurationBuilder createAccountKitC

String initialPhoneCountryPrefix = this.options.getString("initialPhoneCountryPrefix");
String initialPhoneNumber = this.options.getString("initialPhoneNumber");
if (initialPhoneCountryPrefix != null && !initialPhoneCountryPrefix.isEmpty() && initialPhoneNumber != null && !initialPhoneNumber.isEmpty()) {
if (initialPhoneNumber != null && !initialPhoneNumber.isEmpty()) {
PhoneNumber phoneNumber = new PhoneNumber(initialPhoneCountryPrefix, initialPhoneNumber, null);
configurationBuilder.setInitialPhoneNumber(phoneNumber);
}
Expand Down

0 comments on commit ac93c98

Please sign in to comment.