Skip to content

Commit ec13c42

Browse files
committed
fix: update imports to nativescript/core
1 parent 353808b commit ec13c42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: components/MultiDrawer.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</template>
3030

3131
<script>
32-
import * as utils from 'tns-core-modules/utils/utils'
32+
import {Utils} from "@nativescript/core"
3333
import mergeOptions from 'merge-options'
3434
import {defaultOptions} from "../index";
3535
@@ -236,7 +236,7 @@
236236
const view = this.$refs[`${side}Drawer`][0].nativeView
237237
this.sides[side].translationOffset =
238238
this.optionsInternal[side].translationOffsetMultiplier *
239-
utils.layout.toDeviceIndependentPixels(
239+
Utils.layout.toDeviceIndependentPixels(
240240
this.optionsInternal[side].axis === 'X'
241241
? view.getMeasuredWidth()
242242
: view.getMeasuredHeight()

0 commit comments

Comments
 (0)