File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
tns-core-modules/ui/text-base Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export class TextBase extends TextBaseCommon {
11
11
_transformationMethod : any ;
12
12
_nativeView : android . widget . TextView ;
13
13
14
- //Text
14
+ //Text
15
15
get [ textProperty . native ] ( ) : string {
16
16
return this . _nativeView . getText ( ) ;
17
17
}
@@ -32,6 +32,7 @@ export class TextBase extends TextBaseCommon {
32
32
33
33
if ( spannableStringBuilder && this . _nativeView instanceof android . widget . Button &&
34
34
! ( this . _nativeView . getTransformationMethod ( ) instanceof TextTransformation ) ) {
35
+
35
36
// Replace Android Button's default transformation (in case the developer has not already specified a text-transform) method
36
37
// with our transformation method which can handle formatted text.
37
38
// Otherwise, the default tranformation method of the Android Button will overwrite and ignore our spannableStringBuilder.
You can’t perform that action at this time.
0 commit comments