From af0d1402962c02b87ab52b5f622cab1bed99104c Mon Sep 17 00:00:00 2001 From: Eduardo Speroni Date: Fri, 29 Mar 2019 12:07:42 -0300 Subject: [PATCH] use _emit instead of notify --- tns-core-modules/ui/text-base/text-base.android.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tns-core-modules/ui/text-base/text-base.android.ts b/tns-core-modules/ui/text-base/text-base.android.ts index f23ca7544..9be79f0e7 100644 --- a/tns-core-modules/ui/text-base/text-base.android.ts +++ b/tns-core-modules/ui/text-base/text-base.android.ts @@ -70,7 +70,7 @@ function initializeClickableSpan(): void { onClick(view: android.view.View): void { const owner = this.owner.get(); if (owner) { - owner.notify({ eventName: Span.linkClickEvent, object: owner }); + owner._emit(Span.linkClickEvent); } view.clearFocus(); view.invalidate();