From 73424cfc01ea97f88f37ae08d22bedd037217b9a Mon Sep 17 00:00:00 2001 From: Xtrendence Date: Wed, 31 Mar 2021 11:57:32 +0100 Subject: [PATCH] Fixed "No Holdings Found" text in the app. --- README.md | 2 -- mobile/screens/Holdings.js | 11 ++++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index cc0cd4b..02091d4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # Cryptofolio -## The desktop application is still being developed. - ### What is Cryptofolio? Cryptofolio is an open-source, and self-hosted solution for tracking your cryptocurrency holdings. It features a web interface, an Android mobile app, and a cross-platform desktop application for Windows, macOS, and Linux. These three platforms all work using a RESTful API, which you'd have to host yourself. diff --git a/mobile/screens/Holdings.js b/mobile/screens/Holdings.js index 5aad3ef..7d11ec6 100644 --- a/mobile/screens/Holdings.js +++ b/mobile/screens/Holdings.js @@ -92,11 +92,11 @@ export default function Holdings({ navigation }) { }) } - { setAction("create"); setModal(true)}}> - + + { setAction("create"); setModal(true)}}> Add Coin - - + + ); @@ -230,7 +230,8 @@ export default function Holdings({ navigation }) { .then(async (coins) => { if(Object.keys(coins).length === 0) { if(navigation.isFocused()) { - setHoldingsData([No Holdings Found.]); + setHoldingsData([No Holdings Found.]); + setHoldingsValue("-"); } } else { parseHoldings(coins).then(holdings => {