Hide manga title copy button when unsupported
This commit is contained in:
@@ -43,6 +43,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
||||
- (**Download**) Respect manga chapter filters on bulk manga download in the library
|
||||
- (**History**) Show only the last read chapter per manga
|
||||
- (**Updates**) Show only the first unread chapter per manga per day
|
||||
- (**Manga**) Hide details page title copy button in unsupported environments (secure context (https, localhost) required)
|
||||
|
||||
### Fixed
|
||||
|
||||
|
||||
@@ -261,11 +261,13 @@ export const MangaDetails = ({
|
||||
{manga.title}
|
||||
</Typography>
|
||||
</SearchLink>
|
||||
<CustomTooltip title={t`Copy`}>
|
||||
<IconButton onClick={copyTitle} color="inherit">
|
||||
<ContentCopyIcon fontSize="small" />
|
||||
</IconButton>
|
||||
</CustomTooltip>
|
||||
{!!navigator.clipboard && (
|
||||
<CustomTooltip title={t`Copy`}>
|
||||
<IconButton onClick={copyTitle} color="inherit">
|
||||
<ContentCopyIcon fontSize="small" />
|
||||
</IconButton>
|
||||
</CustomTooltip>
|
||||
)}
|
||||
</Stack>
|
||||
{manga.author && (
|
||||
<Metadata
|
||||
|
||||
Reference in New Issue
Block a user