File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ class LabelUITextViewDelegateImpl extends NSObject implements UITextViewDelegate
145
145
}
146
146
147
147
@NativeClass
148
- class ObserverClass extends NSObject {
148
+ class LabelObserverClass extends NSObject {
149
149
_owner : WeakRef < Label > ;
150
150
// NOTE: Refactor this - use Typescript property instead of strings....
151
151
observeValueForKeyPathOfObjectChangeContext ( path : string , tv : UITextView ) {
@@ -195,7 +195,7 @@ export class Label extends LabelBase {
195
195
public initNativeView ( ) {
196
196
super . initNativeView ( ) ;
197
197
this . _delegate = LabelUITextViewDelegateImpl . initWithOwner ( new WeakRef ( this ) ) ;
198
- this . _observer = ObserverClass . alloc ( ) . init ( ) ;
198
+ this . _observer = LabelObserverClass . alloc ( ) . init ( ) ;
199
199
this . _observer [ '_owner' ] = new WeakRef ( this ) ;
200
200
this . nativeViewProtected . addObserverForKeyPathOptionsContext (
201
201
this . _observer ,
You can’t perform that action at this time.
0 commit comments