FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: Resolve incorrect name of listener when unsubscribing (#6487) · NativeScript/NativeScript@af5eb73 · GitHub

Commit af5eb73

Browse files
authored andcommitted
fix: Resolve incorrect name of listener when unsubscribing (#6487)
1 parent 7d21b5c commit af5eb73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tns-core-modules/ui/styling/style-scope.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ export class CssState {
506506
this._appliedChangeMap.forEach((changes, view) => {
507507
if (changes.attributes) {
508508
changes.attributes.forEach(attribute => {
509-
view.removeEventListener("onPropertyChanged:" + attribute, this._onDynamicStateChangeHandler);
509+
view.removeEventListener(attribute + "Change", this._onDynamicStateChangeHandler);
510510
});
511511
}
512512
if (changes.pseudoClasses) {

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL