From 65d79dd7d358725e1a634ebb5ffb8873e0a305c9 Mon Sep 17 00:00:00 2001 From: Martin Guillon Date: Tue, 16 May 2023 10:49:36 +0200 Subject: [PATCH] fix(android): linkColor and underline not working anymore --- package.json | 2 +- plugin/package.json | 2 +- src/label.android.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d9ba97d..cf3cf7e 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "devDependencies": { "@commitlint/cli": "^17.4.4", "@commitlint/config-conventional": "^17.4.4", - "@nativescript-community/text": "^1.5.20", + "@nativescript-community/text": "^1.5.21", "@nativescript/core": "8.4.7", "@nativescript/types-android": "8.4.0", "@nativescript/types-ios": "8.4.0", diff --git a/plugin/package.json b/plugin/package.json index d1fa425..6215386 100644 --- a/plugin/package.json +++ b/plugin/package.json @@ -32,7 +32,7 @@ "license": "Apache-2.0", "readmeFilename": "README.md", "dependencies": { - "@nativescript-community/text": "^1.5.20" + "@nativescript-community/text": "^1.5.21" }, "gitHead": "a08eb50756c9a5d16fc8aa6ff7fba0051c71d1e0" } diff --git a/src/label.android.ts b/src/label.android.ts index 75251ff..78437d9 100644 --- a/src/label.android.ts +++ b/src/label.android.ts @@ -494,7 +494,7 @@ export class Label extends LabelBase { @profile createHTMLString() { const result = createNativeAttributedString( - { text: this.html }, + { text: this.html, linkColor: this.linkColor, linkDecoration: this.linkUnderline ? 'underline' : undefined }, undefined, this, this.autoFontSize,