Skip to content

Commit

Permalink
fix(contacts): fix major bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadeed committed Mar 28, 2017
1 parent 961727e commit 6e20137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/@ionic-native/plugins/contacts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class Contact implements IContactProperties {
@InstanceProperty urls: IContactField[];

constructor() {
if (checkAvailability(navigator.contacts, 'create', 'Contacts') === true) {
if (checkAvailability('navigator.contacts', 'create', 'Contacts') === true) {
this._objectInstance = navigator.contacts.create();
}
}
Expand Down

0 comments on commit 6e20137

Please sign in to comment.