Skip to content

Fix night mode button after restore#778

Merged
SISheogorath merged 1 commit intohackmdio:masterfrom
SISheogorath:fix/nightModeToggle
Mar 26, 2018
Merged

Fix night mode button after restore#778
SISheogorath merged 1 commit intohackmdio:masterfrom
SISheogorath:fix/nightModeToggle

Conversation

@SISheogorath
Copy link
Copy Markdown
Contributor

The night mode toggle doesn't get the right state after restore from
local storage. This results in the need to toggle twice to disable night
mode.

This patch adds the needed class so the toggleNightMode function gets
the right state on execution.

The night mode toggle doesn't get the right state after restore from
local storage. This results in the need to toggle twice to disable night
mode.

This patch adds the needed class so the toggleNightMode function gets
the right state on execution.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
@SISheogorath SISheogorath added the bug Something isn't working label Mar 25, 2018
@SISheogorath SISheogorath added this to the 1.1.0-CE Release milestone Mar 25, 2018
@SISheogorath SISheogorath merged commit 6a4350a into hackmdio:master Mar 26, 2018
@SISheogorath SISheogorath deleted the fix/nightModeToggle branch March 26, 2018 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant