ci(release): publish latest release

parent 90e23e69
IPFS hash of the deployment:
- CIDv0: `QmZ2rcWNSrFp6V7Mnv1m74ca7U6icMVKqEy8PQ5jQEd7ph`
- CIDv1: `bafybeie64ghzppo7dnlb2u2eg2iajamsdbhtovkdyogz2uf3rsexmrur6y`
- CIDv0: `QmdCnKVAywu4azEfXZmabRLDxgdxhLxuBNmY6jYnnBF2pG`
- CIDv1: `bafybeig43nbroxcyglscukpu6gith45bvza4lqriipvzavuiija3ufhmre`
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://bafybeie64ghzppo7dnlb2u2eg2iajamsdbhtovkdyogz2uf3rsexmrur6y.ipfs.dweb.link/
- [ipfs://QmZ2rcWNSrFp6V7Mnv1m74ca7U6icMVKqEy8PQ5jQEd7ph/](ipfs://QmZ2rcWNSrFp6V7Mnv1m74ca7U6icMVKqEy8PQ5jQEd7ph/)
- https://bafybeig43nbroxcyglscukpu6gith45bvza4lqriipvzavuiija3ufhmre.ipfs.dweb.link/
- [ipfs://QmdCnKVAywu4azEfXZmabRLDxgdxhLxuBNmY6jYnnBF2pG/](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
web/5.70.1
\ No newline at end of file
web/5.70.2
\ No newline at end of file
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={imageStyle} />
<NetworkImage logo={logo} imageSize={size} />
</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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment