Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #39 from EinfachHans/dev
Browse files Browse the repository at this point in the history
chore(release): new version
  • Loading branch information
EinfachHans authored May 4, 2023
2 parents e5cca51 + 1d83826 commit 9d20ab9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repositories {


dependencies {
compile 'com.googlecode.libphonenumber:libphonenumber:8.2.0'
implementation 'com.googlecode.libphonenumber:libphonenumber:8.2.0'
}

android {
Expand Down
14 changes: 7 additions & 7 deletions src/ios/ContactsX.swift
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ import PhoneNumberKit
var newMails: [CNLabeledValue<NSString>] = [];
outer: for newMail in contact.emails! {
for mail in editContact.emailAddresses {
if(mail.identifier == newMail.id!) {
if(newMail.id != nil && mail.identifier == newMail.id!) {
newMails.append(mail.settingLabel(ContactsX.mapStringToLabel(string: newMail.type), value: newMail.value as NSString));
continue outer;
}
Expand Down Expand Up @@ -395,11 +395,11 @@ import PhoneNumberKit
}
return ContactsX._PhoneNumberKitInstance!;
}
}

enum ErrorCodes:NSNumber {
case UnsupportedAction = 1
case WrongJsonObject = 2
case PermissionDenied = 3
case UnknownError = 10
enum ErrorCodes:NSNumber {
case UnsupportedAction = 1
case WrongJsonObject = 2
case PermissionDenied = 3
case UnknownError = 10
}
}

0 comments on commit 9d20ab9

Please sign in to comment.