nvllsvm / Audinaut

A Subsonic client for Android
GNU General Public License v3.0
134 stars 18 forks source link

change day/night themes to support dark mode setting on Android 10+ #90

Closed mlim15 closed 4 years ago

mlim15 commented 4 years ago

On Android 10+ devices there is a system-wide dark mode that users are beginning to expect will extend to their apps as well. The current day/night theme in Audinaut sets itself using the system clock. This pull request renames the day/night theme to "Dynamic" and changes its functionality on Android 10 and up to instead follow the system dark mode theme. On Android 9 and below, the old functionality should be preserved. In addition, while the app formerly always initially defaulted to the light theme, it will now default to matching the system theme on Android 10+.

Demo: test

nvllsvm commented 4 years ago

Thanks!