Skip to content

Commit 30c0b9e

Browse files
authored
fix: update theme toggling in the footer (#61)
1 parent c251d5a commit 30c0b9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Web/x-footer.view.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
<script>
2929
document.getElementById('toggle-theme').addEventListener('click', () => {
30-
applyTheme(localStorage.theme === 'dark' ? 'light' : 'dark')
30+
toggleDarkMode()
3131
})
3232
</script>
3333
</x-component>

0 commit comments

Comments
 (0)