mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-11-01 06:55:06 +01:00
fix light theme AppBar
This commit is contained in:
parent
84676b9156
commit
ed7bb408a3
@ -41,7 +41,7 @@ export default function NavBar() {
|
||||
const { title } = useContext(NavBarTitle);
|
||||
const open = Boolean(anchorEl);
|
||||
|
||||
const { setDarkTheme } = useContext(DarkTheme);
|
||||
const { darkTheme, setDarkTheme } = useContext(DarkTheme);
|
||||
|
||||
const handleMenu = (event: React.MouseEvent<HTMLElement>) => {
|
||||
setAnchorEl(event.currentTarget);
|
||||
@ -53,7 +53,7 @@ export default function NavBar() {
|
||||
|
||||
return (
|
||||
<div className={classes.root}>
|
||||
<AppBar position="static" color="default">
|
||||
<AppBar position="static" color={darkTheme ? 'default' : 'primary'}>
|
||||
<Toolbar>
|
||||
<IconButton
|
||||
edge="start"
|
||||
|
Loading…
Reference in New Issue
Block a user