From 6143d4c18ea0e93bf3ad8a4af4c16f21bcb1989e Mon Sep 17 00:00:00 2001 From: Jordan Malokofsky Date: Wed, 18 Oct 2023 14:22:36 -0400 Subject: [PATCH] Removing bad path for ImageSource --- contact-model.android.js | 2 +- contact-model.ios.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contact-model.android.js b/contact-model.android.js index 63dfe0f..1cb4dc3 100644 --- a/contact-model.android.js +++ b/contact-model.android.js @@ -1,7 +1,7 @@ var helper = require("./contact-helper"); var appModule = require("@nativescript/core/application"); var ContactCommon = require("./contact-model-common"); -var imageSource = require('@nativescript/core/image-source'); +var imageSource = require('@nativescript/core'); /* missing constants from the {N} */ var ACCOUNT_TYPE = "account_type"; // android.provider.ContactsContract.RawContacts.ACCOUNT_TYPE diff --git a/contact-model.ios.js b/contact-model.ios.js index 5f284de..371361e 100644 --- a/contact-model.ios.js +++ b/contact-model.ios.js @@ -1,6 +1,6 @@ var helper = require("./contact-helper"); var ContactCommon = require("./contact-model-common"); -var imageSource = require("@nativescript/core/image-source"); +var imageSource = require("@nativescript/core"); var Contact = (function (_super) { global.__extends(Contact, _super);