mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
fix: Resolve incorrect name of listener when unsubscribing (#6487)
This commit is contained in:

committed by
SvetoslavTsenov

parent
7d21b5c9ab
commit
af5eb7321b
@ -506,7 +506,7 @@ export class CssState {
|
|||||||
this._appliedChangeMap.forEach((changes, view) => {
|
this._appliedChangeMap.forEach((changes, view) => {
|
||||||
if (changes.attributes) {
|
if (changes.attributes) {
|
||||||
changes.attributes.forEach(attribute => {
|
changes.attributes.forEach(attribute => {
|
||||||
view.removeEventListener("onPropertyChanged:" + attribute, this._onDynamicStateChangeHandler);
|
view.removeEventListener(attribute + "Change", this._onDynamicStateChangeHandler);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (changes.pseudoClasses) {
|
if (changes.pseudoClasses) {
|
||||||
|
Reference in New Issue
Block a user