Skip to content

Commit

Permalink
v3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mytonwalletorg committed Jul 29, 2024
1 parent 98dc47d commit 0574f98
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 17 deletions.
9 changes: 1 addition & 8 deletions changelogs/3.0.1.txt
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions changelogs/3.0.2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bug fixes and performance improvements
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion public/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.1
3.0.2
2 changes: 1 addition & 1 deletion src/components/main/sections/Card/AccountSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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]);

Expand Down
2 changes: 1 addition & 1 deletion src/components/settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ function Settings({
<i className={buildClassName(styles.iconChevronRight, 'icon-chevron-right')} aria-hidden />
</div>
)}
{!!versions?.length && (
{!!versions?.length && !isHardwareAccount && (
<div className={styles.item} onClick={handleOpenWalletVersion}>
<img className={styles.menuIcon} src={walletVersionImg} alt={lang('Wallet Versions')} />
{lang('Wallet Versions')}
Expand Down
6 changes: 5 additions & 1 deletion src/components/ui/Modal.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ function Modal({
<div
className={buildClassName(styles.header, styles.header_wideContent, !hasCloseButton && styles.header_noClose)}
>
<div className={styles.title}>{title}</div>
<div className={buildClassName(styles.title, styles.singleTitle)}>{title}</div>
{hasCloseButton && (
<Button isRound className={styles.closeButton} ariaLabel={lang('Close')} onClick={onClose}>
<i className={buildClassName(styles.closeIcon, 'icon-close')} aria-hidden />
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/ModalHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function ModalHeader({
<span>{lang('Back')}</span>
</Button>
)}
<div className={modalStyles.title}>{title}</div>
<div className={buildClassName(modalStyles.title, modalStyles.singleTitle)}>{title}</div>
{onClose && (
<Button
isRound
Expand Down

0 comments on commit 0574f98

Please sign in to comment.