@@ -10,7 +10,7 @@ import {
1010 helperColorProperty ,
1111 helperProperty ,
1212 strokeColorProperty ,
13- strokeInactiveColorProperty ,
13+ strokeInactiveColorProperty
1414} from '@nativescript-community/ui-material-core/textbase/cssproperties' ;
1515import {
1616 Background ,
@@ -25,7 +25,7 @@ import {
2525 editableProperty ,
2626 hintProperty ,
2727 isAndroid ,
28- placeholderColorProperty ,
28+ placeholderColorProperty
2929} from '@nativescript/core' ;
3030import { resetSymbol , textProperty } from '@nativescript/core/ui/text-base' ;
3131import { TextViewBase } from './textview.common' ;
@@ -66,8 +66,8 @@ class TextViewInputControllerUnderlineImpl extends MDCTextInputControllerUnderli
6666
6767 return delegate ;
6868 }
69- textInsets ( defaultValue ) {
70- let result = super . textInsets ( defaultValue ) ;
69+ textInsetsWithSizeThatFitsWidthHint ( defaultValue , widthHint ) {
70+ let result = super . textInsetsWithSizeThatFitsWidthHint ( defaultValue , widthHint ) ;
7171 const owner = this . _owner ? this . _owner . get ( ) : null ;
7272 if ( owner ) {
7373 result = owner . _getTextInsetsForBounds ( result ) ;
@@ -85,8 +85,8 @@ class TextViewInputControllerImpl extends MDCTextInputControllerBase {
8585
8686 return delegate ;
8787 }
88- textInsets ( defaultValue ) {
89- let result = super . textInsets ( defaultValue ) ;
88+ textInsetsWithSizeThatFitsWidthHint ( defaultValue , widthHint ) {
89+ let result = super . textInsetsWithSizeThatFitsWidthHint ( defaultValue , widthHint ) ;
9090 const owner = this . _owner ? this . _owner . get ( ) : null ;
9191 if ( owner ) {
9292 result = owner . _getTextInsetsForBounds ( result ) ;
@@ -104,8 +104,8 @@ class TextViewInputControllerOutlinedImpl extends MDCTextInputControllerOutlined
104104
105105 return delegate ;
106106 }
107- textInsets ( defaultValue ) {
108- let result = super . textInsets ( defaultValue ) ;
107+ textInsetsWithSizeThatFitsWidthHint ( defaultValue , widthHint ) {
108+ let result = super . textInsetsWithSizeThatFitsWidthHint ( defaultValue , widthHint ) ;
109109 const owner = this . _owner ? this . _owner . get ( ) : null ;
110110 if ( owner ) {
111111 result = owner . _getTextInsetsForBounds ( result ) ;
@@ -123,8 +123,8 @@ class TextViewInputControllerFilledImpl extends MDCTextInputControllerFilled {
123123
124124 return delegate ;
125125 }
126- textInsets ( defaultValue ) {
127- let result = super . textInsets ( defaultValue ) ;
126+ textInsetsWithSizeThatFitsWidthHint ( defaultValue , widthHint ) {
127+ let result = super . textInsetsWithSizeThatFitsWidthHint ( defaultValue , widthHint ) ;
128128 const owner = this . _owner ? this . _owner . get ( ) : null ;
129129 if ( owner ) {
130130 result = owner . _getTextInsetsForBounds ( result ) ;
@@ -180,9 +180,11 @@ export class TextView extends TextViewBase {
180180 }
181181
182182 // N bug fix
183+ // @ts -ignore
183184 get ios ( ) {
184185 return this . nativeTextViewProtected ;
185186 }
187+ // @ts -ignore
186188 get nativeTextViewProtected ( ) {
187189 return this . nativeViewProtected . textView ;
188190 }
0 commit comments