ArkEcosystem / explorer

The source code of https://explorer.ark.io
https://explorer.ark.io
3 stars 13 forks source link

nightmode not always working #984

Closed crnazmija closed 3 years ago

crnazmija commented 3 years ago

Expected Behavior

To set nightmode only once.

Current Behavior

Getting light mode despite setting it as night

Possible Solution

Look into localstorage usage of"nightMode" flag. I see it is set as true, but it's not working for some reason image

Steps to Reproduce (for bugs)

Not sure, but seems to manifest on OS restart

Your Environment

macOS 11.4 chrome 95.0.4638.54

crnazmija commented 2 years ago

this is still happening

ItsANameToo commented 2 years ago

https://github.com/ArkEcosystem/explorer/pull/1019 changes how the dark mode setting is handled, which should also fix this issue once it has been deployed