Skip to content

Commit

Permalink
fix(android): linkColor and underline not working anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed May 16, 2023
1 parent eb413d5 commit 65d79dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
2 changes: 1 addition & 1 deletion src/label.android.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 65d79dd

Please sign in to comment.