svthalia / Reaxit

The latest ThaliApp built on Flutter.
GNU General Public License v3.0
11 stars 3 forks source link

406 implement themeable adaptive icons #466

Closed stefanvi closed 10 months ago

stefanvi commented 10 months ago

Closes #406

Summary

I changed the icon to an adaptive version by adding a monochrome drawable to ic_launcher.xml.

One issue with the adaptive icon is that developers with this feature enabled can no longer distinguish the testing app from the real app. To solve this, I rotated the debug app's icon by 180 degrees (with permission from Jaap) (also increases usability for Australian users).

How to test

Steps to test the changes you made:

  1. Have a fairly recent android device
  2. Go to 'Wallpaper & style' in the device settings
  3. Enable 'Themed icons'
  4. Now the icon should use the device's theme colors