Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/shared/lib/units.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ export const formatUnit = (value: number, decimalPlaces = 2): string => {
const getUnit = (value: number): Unit => {
let bestUnits: Unit = Unit.i

if (!value) {
return bestUnits
if (!value || value === 0) {
return Unit.Mi
}

const checkLength = Math.abs(value).toString().length
Expand Down
12 changes: 6 additions & 6 deletions packages/shared/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,8 @@
"recentActivity": "Recent Activity",
"sent": "Sent",
"received": "Received",
"sendPayment": "Send payment",
"moveFunds": "Move funds",
"sendPayment": "Send Payment",
"moveFunds": "Internal Transfer",
"sendFunds": "Send funds",
"sendToAddress": "Send to address",
"scanQrOrPaste": "Scan a QR code or paste an Address",
Expand All @@ -488,7 +488,7 @@
"reference": "Reference",
"from": "From",
"to": "To",
"receiveFunds": "Receive funds",
"receiveFunds": "Receive Funds",
"myAddress": "My Address",
"shareAddress": "Share an address",
"yourAddress": "Your address",
Expand All @@ -512,13 +512,13 @@
"totalIn": "Total in",
"totalOut": "Total out",
"accounts": "Accounts",
"myAccounts": "My accounts",
"myAccounts": "My Accounts",
"automaticNodeSelection": "Automatic node selection",
"manualNodeSelection": "Manual node selection",
"profiles": "Profiles",
"developerProfile": "Developer Profile",
"dev": "Dev",
"createAccount": "Create an account",
"createAccount": "Create an Account",
"accountName": "Account name",
"latestTransactions": "Latest Transactions",
"transactions": "Transactions",
Expand All @@ -529,7 +529,7 @@
"help": "Help",
"you": "You",
"messageId": "Message ID",
"inputAddress": "Input Address",
"inputAddress": "Send Address",
"receiveAddress": "Receive Address",
"date": "Date",
"status": "Status",
Expand Down