From 0574f9854e1d76c25a6116e6175da51a8e923191 Mon Sep 17 00:00:00 2001 From: mytonwalletorg Date: Mon, 29 Jul 2024 14:35:21 +0200 Subject: [PATCH] v3.0.2 --- changelogs/3.0.1.txt | 9 +-------- changelogs/3.0.2.txt | 1 + package-lock.json | 4 ++-- package.json | 2 +- public/version.txt | 2 +- src/components/main/sections/Card/AccountSelector.tsx | 2 +- src/components/settings/Settings.tsx | 2 +- src/components/ui/Modal.module.scss | 6 +++++- src/components/ui/Modal.tsx | 2 +- src/components/ui/ModalHeader.tsx | 2 +- 10 files changed, 15 insertions(+), 17 deletions(-) create mode 100644 changelogs/3.0.2.txt diff --git a/changelogs/3.0.1.txt b/changelogs/3.0.1.txt index 05df7b87..619f4cd5 100644 --- a/changelogs/3.0.1.txt +++ b/changelogs/3.0.1.txt @@ -1,8 +1 @@ -- Significantly Improved In-App Browser Interface. -- Manual NFT Hiding. -- Enhanced Scam Detection. -- Ledger v2.1 Support. -- W5 Wallet Version Support. -- Boosted Connection Speed & App Performance. -- Dapp Connection Fixes. -- Multiple Fixes and Improvements. +Bug fixes and performance improvements diff --git a/changelogs/3.0.2.txt b/changelogs/3.0.2.txt new file mode 100644 index 00000000..619f4cd5 --- /dev/null +++ b/changelogs/3.0.2.txt @@ -0,0 +1 @@ +Bug fixes and performance improvements diff --git a/package-lock.json b/package-lock.json index 9f5c5f6c..cbd7e0d8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mytonwallet", - "version": "3.0.1", + "version": "3.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mytonwallet", - "version": "3.0.1", + "version": "3.0.2", "license": "GPL-3.0-or-later", "dependencies": { "@awesome-cordova-plugins/core": "^6.6.0", diff --git a/package.json b/package.json index f4b638fe..f913773b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mytonwallet", - "version": "3.0.1", + "version": "3.0.2", "description": "The most feature-rich web wallet and browser extension for TON – with support of multi-accounts, tokens (jettons), NFT, TON DNS, TON Sites, TON Proxy, and TON Magic.", "main": "index.js", "scripts": { diff --git a/public/version.txt b/public/version.txt index cb2b00e4..b5021469 100644 --- a/public/version.txt +++ b/public/version.txt @@ -1 +1 @@ -3.0.1 +3.0.2 diff --git a/src/components/main/sections/Card/AccountSelector.tsx b/src/components/main/sections/Card/AccountSelector.tsx index f637e572..132d8fba 100644 --- a/src/components/main/sections/Card/AccountSelector.tsx +++ b/src/components/main/sections/Card/AccountSelector.tsx @@ -80,7 +80,7 @@ function AccountSelector({ const isQrScannerSupported = useQrScannerSupport(); const noSettingsOrQrSupported = noSettingsButton || (isInsideSticky && isQrScannerSupported); - const withAddW5Button = currentWalletVersion !== 'W5'; + const withAddW5Button = currentWalletVersion !== 'W5' && !currentAccount?.isHardware; const accountsAmount = useMemo(() => Object.keys(accounts || {}).length, [accounts]); diff --git a/src/components/settings/Settings.tsx b/src/components/settings/Settings.tsx index 7194a726..c11846f6 100644 --- a/src/components/settings/Settings.tsx +++ b/src/components/settings/Settings.tsx @@ -549,7 +549,7 @@ function Settings({ )} - {!!versions?.length && ( + {!!versions?.length && !isHardwareAccount && (
{lang('Wallet {lang('Wallet Versions')} diff --git a/src/components/ui/Modal.module.scss b/src/components/ui/Modal.module.scss index b3fafb4c..56a82376 100644 --- a/src/components/ui/Modal.module.scss +++ b/src/components/ui/Modal.module.scss @@ -336,12 +336,16 @@ font-size: 1.0625rem; font-weight: 700; - line-height: 1.875rem; + line-height: 1; text-align: center; text-overflow: ellipsis; white-space: nowrap; } +.singleTitle { + line-height: 1.875rem; +} + .content { overflow-y: auto; display: flex; diff --git a/src/components/ui/Modal.tsx b/src/components/ui/Modal.tsx index 7e0b443e..b5d073c0 100644 --- a/src/components/ui/Modal.tsx +++ b/src/components/ui/Modal.tsx @@ -197,7 +197,7 @@ function Modal({
-
{title}
+
{title}
{hasCloseButton && ( )} -
{title}
+
{title}
{onClose && (