Still doesn't solve the problem, but thank you, that allows me to disable dark mode for some apps.
I noticed also another small bug:
1. Open a photo using the gallery
2. Share via WhatsApp
3. On the Whatsapp screen, the photo will be shared with the text "WhatsApp" as description, instead of...