Fix license and lint

pull/1459/head
Alex Baker 3 years ago
parent c4e98052de
commit 88e727999b

@ -941,7 +941,7 @@
- artifact: me.saket:better-link-movement-method:+
name: better-link-movement-method
copyrightHolder: Saket Narayan
license: Apache License v2
license: The Apache Software License, Version 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0
url: https://github.com/Saketme/BetterLinkMovementMethod
- artifact: io.noties.markwon:linkify:+

@ -2238,7 +2238,7 @@
},
"copyrightHolder": "Saket Narayan",
"copyrightStatement": "Copyright © Saket Narayan. All rights reserved.",
"license": "Apache License v2",
"license": "The Apache Software License, Version 2.0",
"licenseUrl": "http://www.apache.org/licenses/LICENSE-2.0",
"normalizedLicense": "apache2",
"url": "https://github.com/Saketme/BetterLinkMovementMethod",

@ -5,6 +5,7 @@ import android.content.Context
import android.content.Intent
import android.content.Intent.ACTION_VIEW
import android.net.Uri
import android.text.util.Linkify
import android.widget.Toast
import androidx.browser.customtabs.CustomTabsIntent
import io.noties.markwon.Markwon
@ -60,7 +61,10 @@ object Context {
listOf(
TaskListPlugin.create(this),
TablePlugin.create(this),
LinkifyPlugin.create(android.text.util.Linkify.ALL, true),
LinkifyPlugin.create(
Linkify.WEB_URLS or Linkify.EMAIL_ADDRESSES or Linkify.PHONE_NUMBERS,
true
),
StrikethroughPlugin.create()
)
)

Loading…
Cancel
Save