amahi / android

Amahi Android App
GNU General Public License v3.0
165 stars 277 forks source link

System Following Dark and Light Mode #737

Closed Prakhar-Agarwal-byte closed 3 years ago

Prakhar-Agarwal-byte commented 3 years ago

Describe the issue

We can add a new feature to the app such that the app follows the system dark and light mode automatically i.e. if the user's device is in dark mode then the app will also be in dark mode and the same for light mode also. We can let the user select the System Default option in the settings. This type of app theming is followed in many updated and popular apps such as WhatsApp, Youtube, Facebook, etc.

To Reproduce or Feature details Steps to reproduce the behavior:

  1. Go to Settings
  2. Click on Theme
  3. Select System Default from the dialog
  4. See that the app's theme changes with the system theme

Expected behavior

See the demo app theme changes with system theme

https://user-images.githubusercontent.com/17739006/107484485-7ebe2380-6ba8-11eb-96e9-efe3be175c1f.mp4

Smartphone (please complete as much of the following information as possible):