Skip to content

What is the "Day Time" Logic for Theme "Auto"? #1433

Discussion options

You must be logged in to vote

The logic is based on hours -> https://github.com/gsantner/markor/blob/master/app/src/main/java/net/gsantner/markor/util/AppSettings.java#L69.

Why? This Android own feature is pretty new, and many devices dont support it yet. It's an effort to support both "the new" and have a fallback that just works everywhere. So instead, we just have something that "just works everywhere".

If somebody wants to put time into this, and provide a COMPLETE solution for current and old devices, please do so and make a pull request. I won't do this.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by gsantner
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants