Skip to content

Commit feb4247

Browse files
authored
Merge pull request #221 from arjes/fix_import_textTransformProperty
Moving import to correct location
2 parents 11dbb77 + 0852d53 commit feb4247

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/button/button.android.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@ import {
77
Font,
88
ImageSource,
99
Length,
10-
TextTransform,
1110
Utils,
1211
androidDynamicElevationOffsetProperty,
1312
androidElevationProperty,
1413
backgroundInternalProperty,
1514
colorProperty,
1615
profile,
17-
textTransformProperty
1816
} from '@nativescript/core';
17+
import { TextTransform, textTransformProperty } from '@nativescript/core/ui/text-base';
1918
import { ButtonBase, imageSourceProperty, srcProperty } from './button-common';
2019

2120
let LayoutInflater: typeof android.view.LayoutInflater;

src/button/button.ios.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import {
55
Font,
66
ImageSource,
77
Screen,
8-
TextTransform,
98
Utils,
109
backgroundInternalProperty,
1110
borderBottomLeftRadiusProperty,
@@ -14,8 +13,8 @@ import {
1413
borderTopRightRadiusProperty,
1514
colorProperty,
1615
fontInternalProperty,
17-
textTransformProperty
1816
} from '@nativescript/core';
17+
import { TextTransform, textTransformProperty } from '@nativescript/core/ui/text-base';
1918
import { ButtonBase, imageSourceProperty, srcProperty } from './button-common';
2019

2120
let buttonScheme: MDCContainerScheme;

0 commit comments

Comments
 (0)