This commit is contained in:
tangly1024
2023-07-23 22:01:42 +08:00
parent df5b1525b0
commit 9aa4541218

View File

@@ -146,7 +146,7 @@ const NavBar = props => {
<div className='flex flex-shrink-0 justify-center items-center space-x-1'>
<RandomPostButton {...props} />
<SearchButton />
{!BLOG.THEME_SWITCH && <DarkModeButton {...props} />}
{!JSON.parse(BLOG.THEME_SWITCH) && <DarkModeButton {...props} />}
<ReadingProgress />
{/* 移动端菜单按钮 */}