diff --git a/app/src/main/java/com/vitorpamplona/amethyst/ui/note/ZapCustomDialog.kt b/app/src/main/java/com/vitorpamplona/amethyst/ui/note/ZapCustomDialog.kt index 77581d245..ae411dee6 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/ui/note/ZapCustomDialog.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/ui/note/ZapCustomDialog.kt @@ -444,11 +444,12 @@ fun payViaIntent( ContextCompat.startActivity(context, intent, null) } catch (e: Exception) { if (e is CancellationException) throw e - if (e.message != null) { - onError(context.getString(R.string.no_wallet_found_with_error, e.message!!)) - } else { - onError(context.getString(R.string.no_wallet_found)) - } + // don't display ugly error messages + // if (e.message != null) { + // onError(context.getString(R.string.no_wallet_found_with_error, e.message!!)) + // } else { + onError(context.getString(R.string.no_wallet_found)) + // } } }