From 90db8c371f84668cc6a6cbf0a2546aa36180a89a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20W=C3=BCnsch?= Date: Sat, 5 Dec 2020 12:48:12 +0100 Subject: [PATCH] Fix incorrectly shown fallback option on failed lightning payments (#275) --- .../main/java/zapsolutions/zap/fragments/SendBSDFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/zapsolutions/zap/fragments/SendBSDFragment.java b/app/src/main/java/zapsolutions/zap/fragments/SendBSDFragment.java index bcbb1709..f95bb328 100644 --- a/app/src/main/java/zapsolutions/zap/fragments/SendBSDFragment.java +++ b/app/src/main/java/zapsolutions/zap/fragments/SendBSDFragment.java @@ -804,7 +804,7 @@ private void switchToFailedScreen(String error) { mFinishedScreen.startAnimation(animateIn); - if (!mOnChain) { + if (!mOnChain && mFallbackOnChainInvoice != null) { mFallbackButton.setEnabled(true); mFallbackButton.setVisibility(View.VISIBLE); }