From e5000f650211c60c2802df9ba2b05b5f5191d06e Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Mon, 13 Aug 2018 15:49:12 +0100 Subject: [PATCH] splash screen downloading_headers flag tweak --- app/src/page/splash/view.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/page/splash/view.js b/app/src/page/splash/view.js index 3996a152..45173cfa 100644 --- a/app/src/page/splash/view.js +++ b/app/src/page/splash/view.js @@ -97,6 +97,11 @@ class SplashScreen extends React.PureComponent { isDownloadingHeaders: blockchainHeaders.downloading_headers, headersDownloadProgress: blockchainHeaders.download_progress }); + } else { + // set downloading flag to false if blockchain_headers isn't in the status response + this.setState({ + isDownloadingHeaders: false, + }); } if (blockchainHeaders && blockchainHeaders.downloading_headers) {