Skip to content

Commit

Permalink
fix img solana
Browse files Browse the repository at this point in the history
  • Loading branch information
haunv3 committed Dec 27, 2024
1 parent 4faf94c commit 8cc8a0f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export const MyWalletMobile: React.FC<{
return (
<div className={styles.addressByNetworkItem}>
{tronNetworksWithIcon.map((network) => {
let NetworkIcon = theme === 'dark' ? network.Icon : network.IconLight;
let NetworkIcon = theme === 'dark' ? network.chainSymbolImageUrl : network.chainSymbolImageUrl;
if (!NetworkIcon) NetworkIcon = DefaultIcon;
return (
<div key={network.chainId} className={styles.addressByChainInNetwork}>
Expand Down Expand Up @@ -197,7 +197,7 @@ export const MyWalletMobile: React.FC<{
return (
<div className={styles.addressByNetworkItem}>
{btcNetworksWithIcon.map((network) => {
let NetworkIcon = theme === 'dark' ? network.Icon : network.IconLight;
let NetworkIcon = theme === 'dark' ? network.chainSymbolImageUrl : network.chainSymbolImageUrl;
if (!NetworkIcon) NetworkIcon = DefaultIcon;
return (
<div key={network.chainId} className={styles.addressByChainInNetwork}>
Expand Down Expand Up @@ -234,7 +234,7 @@ export const MyWalletMobile: React.FC<{
return (
<div className={styles.addressByNetworkItem}>
{solanaNetworksWithIcon.map((network) => {
let NetworkIcon = theme === 'dark' ? network.Icon : network.IconLight;
let NetworkIcon = theme === 'dark' ? network.chainSymbolImageUrl : network.chainSymbolImageUrl;
if (!NetworkIcon) NetworkIcon = DefaultIcon;
return (
<div key={network.chainId} className={styles.addressByChainInNetwork}>
Expand Down
13 changes: 13 additions & 0 deletions src/layouts/Menu.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,19 @@
color: theme-get('neutral-text-title');
}

&.dark {
svg {
path {
stroke: #efefef;
}
}
}
svg {
path {
stroke: #474747;
}
}

&:hover {
@include theme() {
background-color: theme-get('neutral-border-border-bold');
Expand Down

0 comments on commit 8cc8a0f

Please sign in to comment.