fix(contacts): fix major bug

This commit is contained in:
Ibby Hadeed 2017-03-28 04:44:48 -04:00
parent 961727ee61
commit 6e20137340

View File

@ -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();
}
}