Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Stop changing global dark mode setting on start #3360

Merged
merged 1 commit into from
Apr 21, 2021
Merged

Stop changing global dark mode setting on start #3360

merged 1 commit into from
Apr 21, 2021

Conversation

BrandomRobor
Copy link
Contributor

Fixes #3065

This method is supposed to check if the "Automatic" option of dark mode is supported, but due to the setNightMode() method the setting changes globally. By removing this call the bug no longer happens and the auto check still succeeds.

Photo of "Night mode" settings dialog showing the "Automatic" option correctly:
Screenshot_20210406-152121

Stops Slide from changing the global night mode setting on start
@ccrama
Copy link
Collaborator

ccrama commented Apr 21, 2021

Thank you for the PR! Looks good, including this in the next update

@ccrama ccrama merged commit f4baa3f into Haptic-Apps:master Apr 21, 2021
@BrandomRobor BrandomRobor deleted the remove-setnightmode branch April 21, 2021 18:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Night mode turning off on opening a post
2 participants