Skip to content

Commit

Permalink
Merge pull request #877 from sudhanshutech/share/theme
Browse files Browse the repository at this point in the history
fix share modal theme for text and icon
  • Loading branch information
sudhanshutech authored Jan 10, 2025
2 parents 44c6e97 + fc9acfd commit a3606fa
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/custom/ShareModal/ShareModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,12 +257,14 @@ const ShareModal: React.FC<ShareModalProps> = ({
<PublicIcon
width={24}
height={24}
fill={theme.palette.icon.default}
stroke={theme.palette.mode === 'dark' ? WHITE : BLACK}
/>
) : (
<LockIcon
width={24}
height={24}
fill={theme.palette.icon.default}
stroke={theme.palette.mode === 'dark' ? WHITE : BLACK}
/>
)}
Expand All @@ -289,7 +291,13 @@ const ShareModal: React.FC<ShareModalProps> = ({
</MenuItem>
))}
</CustomSelect>
<Typography component="span" variant="body2">
<Typography
sx={{
color: theme.palette.text.secondary
}}
component="span"
variant="body2"
>
{selectedOption === SHARE_MODE.PRIVATE ? options.PRIVATE : options.PUBLIC}
</Typography>
</div>
Expand Down

0 comments on commit a3606fa

Please sign in to comment.