Skip to content

Commit

Permalink
Merge pull request #256 from Outblock/dev
Browse files Browse the repository at this point in the history
[Release] 2.6.2
  • Loading branch information
lmcmz authored Dec 6, 2024
2 parents cf91513 + 9dac842 commit 25a73a1
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 22 deletions.
2 changes: 1 addition & 1 deletion _raw/manifest/manifest.dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion _raw/manifest/manifest.pro.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
10 changes: 5 additions & 5 deletions src/background/controller/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: '🐨',
},
],
},
Expand Down
29 changes: 15 additions & 14 deletions src/ui/views/Wallet/Coinlist.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,20 +115,21 @@ const CoinList = ({ data, ableFt, isActive, childType, coinLoading }) => {
{props.change === null ? '-' : '$'}
{props.price}
</Typography>

<Typography
variant="body1"
sx={{
fontSize: 12,
fontWeight: '500',
textAlign: 'start',
color: props.change >= 0 ? 'text.increase' : 'text.decrease',
}}
>
{props.change === null ? '' : props.change >= 0 ? '+' : ''}
{props.change}
{props.change !== null ? '%' : ''}
</Typography>
{props.change !== 0 && (
<Typography
variant="body1"
sx={{
fontSize: 12,
fontWeight: '500',
textAlign: 'start',
color: props.change >= 0 ? 'text.increase' : 'text.decrease',
}}
>
{props.change === null ? '' : props.change >= 0 ? '+' : ''}
{props.change}
{props.change !== null ? '%' : ''}
</Typography>
)}
</Box>
) : (
<Box
Expand Down

0 comments on commit 25a73a1

Please sign in to comment.