Skip to content

Commit 3ab8d9c

Browse files
committed
fix(media): imports
1 parent 9b49d92 commit 3ab8d9c

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

packages/canvas-media/audio/common.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {AddChildFromBuilder, booleanConverter, ContentView, CSSType} from "@nativescript/core";
2-
import {Property} from "@nativescript/core/ui/core/view";
1+
import { AddChildFromBuilder, booleanConverter, ContentView } from '@nativescript/core';
2+
import { Property, CSSType } from '@nativescript/core/ui/core/view';
33

44
@CSSType('Audio')
55
export abstract class AudioBase extends ContentView implements AddChildFromBuilder {
@@ -11,23 +11,22 @@ export abstract class AudioBase extends ContentView implements AddChildFromBuild
1111
export const controlsProperty = new Property<AudioBase, boolean>({
1212
name: 'controls',
1313
valueConverter: booleanConverter,
14-
defaultValue: false
14+
defaultValue: false,
1515
});
1616
controlsProperty.register(AudioBase);
1717

1818
export const loopProperty = new Property<AudioBase, boolean>({
1919
name: 'loop',
2020
valueConverter: booleanConverter,
21-
defaultValue: false
21+
defaultValue: false,
2222
});
2323

2424
loopProperty.register(AudioBase);
2525

2626
export const autoplayProperty = new Property<AudioBase, boolean>({
2727
name: 'autoplay',
2828
valueConverter: booleanConverter,
29-
defaultValue: false
29+
defaultValue: false,
3030
});
3131

3232
autoplayProperty.register(AudioBase);
33-

packages/canvas-media/video/common.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Screen, AddChildFromBuilder, Application, booleanConverter, ContentView, CSSType, PercentLength, Utils } from '@nativescript/core';
2-
import { Property } from '@nativescript/core/ui/core/view';
1+
import { Screen, AddChildFromBuilder, Application, booleanConverter, ContentView, PercentLength, Utils } from '@nativescript/core';
2+
import { Property, CSSType } from '@nativescript/core/ui/core/view';
33

44
@CSSType('Video')
55
export abstract class VideoBase extends ContentView implements AddChildFromBuilder {

0 commit comments

Comments
 (0)