Update ReaderNavBar (switch exit and back button) (#21)
This commit is contained in:
@@ -208,19 +208,6 @@ export default function ReaderNavBar(props: IProps) {
|
|||||||
>
|
>
|
||||||
<div className={classes.root}>
|
<div className={classes.root}>
|
||||||
<header>
|
<header>
|
||||||
<IconButton
|
|
||||||
edge="start"
|
|
||||||
color="inherit"
|
|
||||||
aria-label="menu"
|
|
||||||
disableRipple
|
|
||||||
onClick={() => history.push(`/manga/${manga.id}`)}
|
|
||||||
>
|
|
||||||
<CloseIcon />
|
|
||||||
</IconButton>
|
|
||||||
<Typography variant="h1">
|
|
||||||
{/* {title} */}
|
|
||||||
{chapter.name}
|
|
||||||
</Typography>
|
|
||||||
{!settings.staticNav
|
{!settings.staticNav
|
||||||
&& (
|
&& (
|
||||||
<IconButton
|
<IconButton
|
||||||
@@ -233,6 +220,19 @@ export default function ReaderNavBar(props: IProps) {
|
|||||||
<KeyboardArrowLeftIcon />
|
<KeyboardArrowLeftIcon />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
) }
|
) }
|
||||||
|
<Typography variant="h1">
|
||||||
|
{/* {title} */}
|
||||||
|
{chapter.name}
|
||||||
|
</Typography>
|
||||||
|
<IconButton
|
||||||
|
edge="start"
|
||||||
|
color="inherit"
|
||||||
|
aria-label="menu"
|
||||||
|
disableRipple
|
||||||
|
onClick={() => history.push(`/manga/${manga.id}`)}
|
||||||
|
>
|
||||||
|
<CloseIcon />
|
||||||
|
</IconButton>
|
||||||
</header>
|
</header>
|
||||||
<ListItem ContainerComponent="div" className={classes.settingsCollapsseHeader}>
|
<ListItem ContainerComponent="div" className={classes.settingsCollapsseHeader}>
|
||||||
<ListItemText primary="Reader Settings" />
|
<ListItemText primary="Reader Settings" />
|
||||||
|
|||||||
Reference in New Issue
Block a user