From aa3538753dfe8c8a1237dfb4aa674877c1b7dd67 Mon Sep 17 00:00:00 2001 From: zzggo Date: Sat, 7 Dec 2024 01:10:37 +1100 Subject: [PATCH 1/2] fixed: ui issue --- src/background/controller/wallet.ts | 10 +++++----- src/ui/views/Wallet/Coinlist.tsx | 29 +++++++++++++++-------------- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/src/background/controller/wallet.ts b/src/background/controller/wallet.ts index 354d9a06..7cb2c27f 100644 --- a/src/background/controller/wallet.ts +++ b/src/background/controller/wallet.ts @@ -1595,18 +1595,18 @@ export class WalletController extends BaseController { transformedArray = [ { id: 0, - name: 'flow', + name: 'Koala', chain_id: network, - icon: 'placeholder', - color: 'placeholder', + icon: '🐨', + color: '#fff', blockchain: [ { id: 0, name: 'Flow', chain_id: network, - address: '0x00000000', + address: '', coins: ['flow'], - icon: '', + icon: '🐨', }, ], }, diff --git a/src/ui/views/Wallet/Coinlist.tsx b/src/ui/views/Wallet/Coinlist.tsx index a09153a8..ae657c58 100644 --- a/src/ui/views/Wallet/Coinlist.tsx +++ b/src/ui/views/Wallet/Coinlist.tsx @@ -115,20 +115,21 @@ const CoinList = ({ data, ableFt, isActive, childType, coinLoading }) => { {props.change === null ? '-' : '$'} {props.price} - - = 0 ? 'text.increase' : 'text.decrease', - }} - > - {props.change === null ? '' : props.change >= 0 ? '+' : ''} - {props.change} - {props.change !== null ? '%' : ''} - + {props.change !== 0 && ( + = 0 ? 'text.increase' : 'text.decrease', + }} + > + {props.change === null ? '' : props.change >= 0 ? '+' : ''} + {props.change} + {props.change !== null ? '%' : ''} + + )} ) : ( Date: Sat, 7 Dec 2024 01:12:46 +1100 Subject: [PATCH 2/2] fixed: new version number --- _raw/manifest/manifest.dev.json | 2 +- _raw/manifest/manifest.pro.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_raw/manifest/manifest.dev.json b/_raw/manifest/manifest.dev.json index 480bc60c..0eed9cb0 100644 --- a/_raw/manifest/manifest.dev.json +++ b/_raw/manifest/manifest.dev.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "FlowWallet-dev", "short_name": "__MSG_appName__", - "version": "2.6.1", + "version": "2.6.2", "default_locale": "en", "description": "__MSG_appDescription__", "icons": { diff --git a/_raw/manifest/manifest.pro.json b/_raw/manifest/manifest.pro.json index 6b57c6f5..bfb19a48 100644 --- a/_raw/manifest/manifest.pro.json +++ b/_raw/manifest/manifest.pro.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "__MSG_appName__", "short_name": "__MSG_appName__", - "version": "2.6.1", + "version": "2.6.2", "default_locale": "en", "description": "__MSG_appDescription__", "icons": { diff --git a/package.json b/package.json index 1084e154..8c50342d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "flow-reference-wallet", - "version": "2.6.1", + "version": "2.6.2", "description": "Digital wallet created for everyone.", "scripts": { "prepare:dev": "node ./build/prepareManifest.js dev",