Fix launch application #996

This commit is contained in:
J-Jamet
2021-08-27 13:32:41 +02:00
parent d290259075
commit 1bf912d6f0
3 changed files with 19 additions and 3 deletions

View File

@@ -138,11 +138,11 @@ class TextFieldView @JvmOverloads constructor(context: Context,
when {
labelView.text.contains(APPLICATION_ID_FIELD_NAME) -> {
val packageName = valueView.text.toString()
if (UriUtil.isExternalAppInstalled(context, packageName)) {
// TODO #996 if (UriUtil.isExternalAppInstalled(context, packageName)) {
valueView.customLink {
UriUtil.openExternalApp(context, packageName)
}
}
//}
}
else -> {
LinkifyCompat.addLinks(valueView, Linkify.WEB_URLS or Linkify.EMAIL_ADDRESSES)