elastic-rock / Candle

An Android display torch
GNU General Public License v3.0
23 stars 3 forks source link

Flashes white on orientation change with custom color #8

Closed Naomitr0n closed 7 months ago

Naomitr0n commented 7 months ago

I have the custom color set to red since it's way easier on the eyes. Problem is, any time I accidentally rotate my phone as I'm trying to find something at night, I get a brief rather blinding flash of white.

Expected behavior: the screen should retain custom color on rotation changes without interruption.

If this isn't achievable due to some Android limitation, I imagine changing the default layout color from white to black would mean these brief flashes of white would become brief interruptions in illumination, which is much preferred.

elastic-rock commented 7 months ago

Thank you for pointing out the issue. I will work to fix it as soon as I have some spare time.

elastic-rock commented 7 months ago

Fixed the issue by preventing the screen from rotating.