From 205351b617e3f60e22be26d5deddd519fcf8bb3c Mon Sep 17 00:00:00 2001 From: Rahul Date: Tue, 1 Oct 2024 19:31:56 +0530 Subject: [PATCH] remove decimals from hidden values --- .../Settings/PrivacyMode/PrivacyMode.tsx | 2 +- .../src/legacy/Dashboard/UserSummary.tsx | 6 +- .../messages/src/WalletNavigator.json | 96 +++++++++---------- .../src/legacy/Dashboard/UserSummary.json | 16 ++-- 4 files changed, 60 insertions(+), 60 deletions(-) diff --git a/apps/wallet-mobile/src/features/Settings/PrivacyMode/PrivacyMode.tsx b/apps/wallet-mobile/src/features/Settings/PrivacyMode/PrivacyMode.tsx index 793876cc65..b2b95eb2a3 100644 --- a/apps/wallet-mobile/src/features/Settings/PrivacyMode/PrivacyMode.tsx +++ b/apps/wallet-mobile/src/features/Settings/PrivacyMode/PrivacyMode.tsx @@ -68,6 +68,6 @@ export const usePrivacyMode = () => { isTogglePrivacyModeLoading, setPrivacyModeOff: () => writePrivacyMode('HIDDEN'), setPrivacyModeOn: () => writePrivacyMode('SHOWN'), - privacyPlaceholder: '*.******', + privacyPlaceholder: '******', } } diff --git a/apps/wallet-mobile/src/legacy/Dashboard/UserSummary.tsx b/apps/wallet-mobile/src/legacy/Dashboard/UserSummary.tsx index 5dfb74f53f..9f1266b3cc 100644 --- a/apps/wallet-mobile/src/legacy/Dashboard/UserSummary.tsx +++ b/apps/wallet-mobile/src/legacy/Dashboard/UserSummary.tsx @@ -55,7 +55,7 @@ export const UserSummary = ({totalAdaSum, totalRewards, totalDelegated, onWithdr ? totalAdaSum != null ? formatAdaWithText(asQuantity(totalAdaSum), wallet.portfolioPrimaryTokenInfo) : '-' - : '**.******'} + : '******'} @@ -82,7 +82,7 @@ export const UserSummary = ({totalAdaSum, totalRewards, totalDelegated, onWithdr ? totalRewards != null ? formatAdaWithText(asQuantity(totalRewards), wallet.portfolioPrimaryTokenInfo) : '-' - : '**.******'} + : '******'} @@ -109,7 +109,7 @@ export const UserSummary = ({totalAdaSum, totalRewards, totalDelegated, onWithdr ? totalDelegated != null ? formatAdaWithText(asQuantity(totalDelegated), wallet.portfolioPrimaryTokenInfo) : '-' - : '**.******'} + : '******'} diff --git a/apps/wallet-mobile/translations/messages/src/WalletNavigator.json b/apps/wallet-mobile/translations/messages/src/WalletNavigator.json index 0618bc2879..b8cde09ac5 100644 --- a/apps/wallet-mobile/translations/messages/src/WalletNavigator.json +++ b/apps/wallet-mobile/translations/messages/src/WalletNavigator.json @@ -4,14 +4,14 @@ "defaultMessage": "!!!Transactions", "file": "src/WalletNavigator.tsx", "start": { - "line": 301, + "line": 305, "column": 22, - "index": 10506 + "index": 10584 }, "end": { - "line": 304, + "line": 308, "column": 3, - "index": 10609 + "index": 10687 } }, { @@ -19,14 +19,14 @@ "defaultMessage": "!!!Send", "file": "src/WalletNavigator.tsx", "start": { - "line": 305, + "line": 309, "column": 14, - "index": 10625 + "index": 10703 }, "end": { - "line": 308, + "line": 312, "column": 3, - "index": 10724 + "index": 10802 } }, { @@ -34,14 +34,14 @@ "defaultMessage": "!!!Receive", "file": "src/WalletNavigator.tsx", "start": { - "line": 309, + "line": 313, "column": 17, - "index": 10743 + "index": 10821 }, "end": { - "line": 312, + "line": 316, "column": 3, - "index": 10848 + "index": 10926 } }, { @@ -49,14 +49,14 @@ "defaultMessage": "!!!Dashboard", "file": "src/WalletNavigator.tsx", "start": { - "line": 313, + "line": 317, "column": 19, - "index": 10869 + "index": 10947 }, "end": { - "line": 316, + "line": 320, "column": 3, - "index": 10966 + "index": 11044 } }, { @@ -64,14 +64,14 @@ "defaultMessage": "!!!Delegate", "file": "src/WalletNavigator.tsx", "start": { - "line": 317, + "line": 321, "column": 18, - "index": 10986 + "index": 11064 }, "end": { - "line": 320, + "line": 324, "column": 3, - "index": 11081 + "index": 11159 } }, { @@ -79,14 +79,14 @@ "defaultMessage": "!!!Wallet", "file": "src/WalletNavigator.tsx", "start": { - "line": 321, + "line": 325, "column": 16, - "index": 11099 + "index": 11177 }, "end": { - "line": 324, + "line": 328, "column": 3, - "index": 11197 + "index": 11275 } }, { @@ -94,14 +94,14 @@ "defaultMessage": "!!!Staking", "file": "src/WalletNavigator.tsx", "start": { - "line": 325, + "line": 329, "column": 17, - "index": 11216 + "index": 11294 }, "end": { - "line": 328, + "line": 332, "column": 3, - "index": 11281 + "index": 11359 } }, { @@ -109,14 +109,14 @@ "defaultMessage": "!!!NFT Gallery", "file": "src/WalletNavigator.tsx", "start": { - "line": 329, + "line": 333, "column": 14, - "index": 11297 + "index": 11375 }, "end": { - "line": 332, + "line": 336, "column": 3, - "index": 11391 + "index": 11469 } }, { @@ -124,14 +124,14 @@ "defaultMessage": "!!!Menu", "file": "src/WalletNavigator.tsx", "start": { - "line": 333, + "line": 337, "column": 14, - "index": 11407 + "index": 11485 }, "end": { - "line": 336, + "line": 340, "column": 3, - "index": 11459 + "index": 11537 } }, { @@ -139,14 +139,14 @@ "defaultMessage": "!!!Discover", "file": "src/WalletNavigator.tsx", "start": { - "line": 337, + "line": 341, "column": 18, - "index": 11479 + "index": 11557 }, "end": { - "line": 340, + "line": 344, "column": 3, - "index": 11568 + "index": 11646 } }, { @@ -154,14 +154,14 @@ "defaultMessage": "!!!My wallets", "file": "src/WalletNavigator.tsx", "start": { - "line": 341, + "line": 345, "column": 31, - "index": 11601 + "index": 11679 }, "end": { - "line": 344, + "line": 348, "column": 3, - "index": 11710 + "index": 11788 } }, { @@ -169,14 +169,14 @@ "defaultMessage": "!!!Portfolio", "file": "src/WalletNavigator.tsx", "start": { - "line": 345, + "line": 349, "column": 19, - "index": 11731 + "index": 11809 }, "end": { - "line": 348, + "line": 352, "column": 3, - "index": 11800 + "index": 11878 } } ] \ No newline at end of file diff --git a/apps/wallet-mobile/translations/messages/src/legacy/Dashboard/UserSummary.json b/apps/wallet-mobile/translations/messages/src/legacy/Dashboard/UserSummary.json index f275f60b6c..e6b7b547c6 100644 --- a/apps/wallet-mobile/translations/messages/src/legacy/Dashboard/UserSummary.json +++ b/apps/wallet-mobile/translations/messages/src/legacy/Dashboard/UserSummary.json @@ -6,12 +6,12 @@ "start": { "line": 180, "column": 9, - "index": 5288 + "index": 5279 }, "end": { "line": 183, "column": 3, - "index": 5390 + "index": 5381 } }, { @@ -21,12 +21,12 @@ "start": { "line": 184, "column": 16, - "index": 5408 + "index": 5399 }, "end": { "line": 187, "column": 3, - "index": 5518 + "index": 5509 } }, { @@ -36,12 +36,12 @@ "start": { "line": 188, "column": 18, - "index": 5538 + "index": 5529 }, "end": { "line": 191, "column": 3, - "index": 5652 + "index": 5643 } }, { @@ -51,12 +51,12 @@ "start": { "line": 192, "column": 23, - "index": 5677 + "index": 5668 }, "end": { "line": 195, "column": 3, - "index": 5789 + "index": 5780 } } ] \ No newline at end of file