mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
Fix setting text property to number. (#3449)
Fix setting JS property from native.
This commit is contained in:
@ -14,7 +14,7 @@ class CheckedChangeListener extends java.lang.Object implements android.widget.C
|
||||
onCheckedChanged(buttonView: android.widget.CompoundButton, isChecked: boolean): void {
|
||||
let owner = this.owner.get();
|
||||
if (owner) {
|
||||
owner.nativePropertyChanged(checkedProperty, isChecked);
|
||||
checkedProperty.nativeValueChange(owner, isChecked);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user