fix: todo and photo packs

This commit is contained in:
David Ralph
2023-03-11 17:06:54 +00:00
committed by GitHub
parent 9bb65a9704
commit 76f5bff3dd
4 changed files with 59 additions and 52 deletions

View File

@@ -51,7 +51,7 @@ function Navbar() {
onChange={setShowRefreshOptions}
/>
<Checkbox
name="todo"
name="todoEnabled"
text={variables.getMessage('widgets.navbar.todo.title')}
category="navbar"
/>

View File

@@ -104,7 +104,7 @@ export default class Navbar extends PureComponent {
{localStorage.getItem('notesEnabled') === 'true' ? (
<Notes fontSize={this.state.zoomFontSize} />
) : null}
{localStorage.getItem('todo') === 'true' ? (
{localStorage.getItem('todoEnabled') === 'true' ? (
<Todo fontSize={this.state.zoomFontSize} />
) : null}