-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch nativescript-volume@1.0.7
for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/nativescript-volume/volume.android.js b/node_modules/nativescript-volume/volume.android.js
index 3682530..b86d5c1 100644
--- a/node_modules/nativescript-volume/volume.android.js
+++ b/node_modules/nativescript-volume/volume.android.js
@@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var app = require("tns-core-modules/application");
+var app = require("@nativescript/core/application");
var volume_common_1 = require("./volume.common");
var Volume = (function (_super) {
__extends(Volume, _super);
diff --git a/node_modules/nativescript-volume/volume.common.js b/node_modules/nativescript-volume/volume.common.js
index 1aec30c..af10001 100644
--- a/node_modules/nativescript-volume/volume.common.js
+++ b/node_modules/nativescript-volume/volume.common.js
@@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-var observable_1 = require("tns-core-modules/data/observable");
+var observable_1 = require("@nativescript/core/data/observable");
var Common = (function (_super) {
__extends(Common, _super);
function Common() {
This issue body was partially generated by patch-package.
Metadata
Metadata
Assignees
Labels
No labels