@nativescript-community/text 1.5.44 → 1.5.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativescript-community/text",
3
- "version": "1.5.44",
3
+ "version": "1.5.45",
4
4
  "description": "Expands the capabilities of NativeScript's text property.",
5
5
  "main": "./index",
6
6
  "sideEffects": false,
@@ -30,5 +30,5 @@
30
30
  },
31
31
  "license": "Apache-2.0",
32
32
  "readmeFilename": "README.md",
33
- "gitHead": "2506a31fa9982b2dc8d3e7d13e9e2d0b4007fa44"
33
+ "gitHead": "2f454bac89b25609ab889b648b5ed35bbe468194"
34
34
  }
@@ -20,7 +20,7 @@ public class TextView extends AppCompatTextView {
20
20
  }
21
21
  }
22
22
 
23
- public static boolean attributedStringHasSpan(android.text.Spannable attributeString, java.lang.Class spanClass) {
23
+ public static boolean attributedStringHasSpan(android.text.Spanned attributeString, java.lang.Class spanClass) {
24
24
  return attributeString.getSpans(0, attributeString.length(), spanClass).length > 0;
25
25
  // const urlSpan = result.getSpans(0, result.length(), android.text.style.URLSpan.class);
26
26