Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
7e356d46
Commit
7e356d46
authored
Feb 10, 2025
by
Uniswap Labs Service Account
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci(release): publish latest release
parent
90e23e69
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
9 deletions
+22
-9
RELEASE
RELEASE
+6
-6
VERSION
VERSION
+1
-1
NetworkLogo.tsx
packages/uniswap/src/components/CurrencyLogo/NetworkLogo.tsx
+15
-2
No files found.
RELEASE
View file @
7e356d46
IPFS hash of the deployment:
- CIDv0: `Qm
Z2rcWNSrFp6V7Mnv1m74ca7U6icMVKqEy8PQ5jQEd7ph
`
- CIDv1: `bafybei
e64ghzppo7dnlb2u2eg2iajamsdbhtovkdyogz2uf3rsexmrur6y
`
- CIDv0: `Qm
dCnKVAywu4azEfXZmabRLDxgdxhLxuBNmY6jYnnBF2pG
`
- CIDv1: `bafybei
g43nbroxcyglscukpu6gith45bvza4lqriipvzavuiija3ufhmre
`
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
...
...
@@ -10,14 +10,14 @@ You can also access the Uniswap Interface from an IPFS gateway.
Your Uniswap settings are never remembered across different URLs.
IPFS gateways:
- https://bafybei
e64ghzppo7dnlb2u2eg2iajamsdbhtovkdyogz2uf3rsexmrur6y
.ipfs.dweb.link/
- [ipfs://Qm
Z2rcWNSrFp6V7Mnv1m74ca7U6icMVKqEy8PQ5jQEd7ph/](ipfs://QmZ2rcWNSrFp6V7Mnv1m74ca7U6icMVKqEy8PQ5jQEd7ph
/)
- https://bafybei
g43nbroxcyglscukpu6gith45bvza4lqriipvzavuiija3ufhmre
.ipfs.dweb.link/
- [ipfs://Qm
dCnKVAywu4azEfXZmabRLDxgdxhLxuBNmY6jYnnBF2pG/](ipfs://QmdCnKVAywu4azEfXZmabRLDxgdxhLxuBNmY6jYnnBF2pG
/)
### 5.70.
1
(2025-02-10)
### 5.70.
2
(2025-02-10)
### Bug Fixes
* **web:**
bridge fallback display logic (#16140) (#16147) ebe05fb
* **web:**
network logo fix prod (#16146) 5f636c5
VERSION
View file @
7e356d46
web/5.70.1
\ No newline at end of file
web/5.70.2
\ No newline at end of file
packages/uniswap/src/components/CurrencyLogo/NetworkLogo.tsx
View file @
7e356d46
import
React
from
'
react
'
// eslint-disable-next-line no-restricted-imports
import
type
{
ImageSourcePropType
}
from
'
react-native
'
import
{
Flex
,
FlexProps
,
Image
,
useSporeColors
}
from
'
ui/src
'
import
{
ALL_NETWORKS_LOGO
,
ALL_NETWORKS_LOGO_UNICHAIN
}
from
'
ui/src/assets
'
import
{
iconSizes
,
zIndices
}
from
'
ui/src/theme
'
...
...
@@ -6,6 +8,7 @@ import { getChainInfo } from 'uniswap/src/features/chains/chainInfo'
import
{
UniverseChainId
}
from
'
uniswap/src/features/chains/types
'
import
{
FeatureFlags
}
from
'
uniswap/src/features/gating/flags
'
import
{
useFeatureFlag
}
from
'
uniswap/src/features/gating/hooks
'
import
{
isMobileWeb
}
from
'
utilities/src/platform
'
export
const
SQUIRCLE_BORDER_RADIUS_RATIO
=
0.3
...
...
@@ -49,7 +52,7 @@ function _NetworkLogo({
return
(
<
Flex
testID=
"all-networks-logo"
>
<
Image
resizeMode=
"contain"
source=
{
logo
}
style=
{
imageStyl
e
}
/>
<
NetworkImage
logo=
{
logo
}
imageSize=
{
siz
e
}
/>
</
Flex
>
)
}
...
...
@@ -59,9 +62,19 @@ function _NetworkLogo({
return
logo
?
(
<
Flex
testID=
"network-logo"
overflow=
"hidden"
style=
{
imageStyle
}
zIndex=
{
zIndices
.
mask
}
>
<
Image
resizeMode=
"contain"
source=
{
logo
}
width=
{
imageSize
}
height
=
{
imageSize
}
/>
<
NetworkImage
logo=
{
logo
}
imageSize
=
{
imageSize
}
/>
</
Flex
>
)
:
null
}
function
NetworkImage
({
logo
,
imageSize
}:
{
logo
:
ImageSourcePropType
;
imageSize
:
number
}):
JSX
.
Element
{
// As of iOS 18.3 network logos are no longer displaying because react-native-web-lite
// adds z-index: -1 to the image. This is a workaround to display the logos on mobile web.
return
isMobileWeb
&&
typeof
logo
===
'
string
'
?
(
<
img
src=
{
logo
}
style=
{
{
width
:
imageSize
,
height
:
imageSize
}
}
/>
)
:
(
<
Image
resizeMode=
"contain"
source=
{
logo
}
width=
{
imageSize
}
height=
{
imageSize
}
/>
)
}
export
const
NetworkLogo
=
React
.
memo
(
_NetworkLogo
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment