Android: automatically switch themes between dark/light

Creat an option that allows the theme to change automatically.

app version: 9.0
android version: 9 (PPS29.55-24)
device: motorola moto g(6) (msm8953)
sqlite version: 3.22.0
username: drhouse
server: default
speed: 5 feeds in conn:825 read:5 parse:14 store:5
pending actions: pre:0 post:0
premium: no
prefetch: yes
notifications: no
keepread: no
thumbs: yes

hi,

Go to Settings > Display, then tap the Advanced drop-down menu at the bottom of the page. From there, tap Device theme , then simply tap Dark from the pop-up dialog box. From there, simply pull down your quick settings area and you’ll see the new white text and dark gray aesthetic.

thanks

Thank you. I know how to change the themes but I’m talking about adding a feature that does it automatically. One of the ways that this could work out is by checking the ambient light that the phone is exposed to then the app would know by using this sensors if is night time or day time. There are dozens of apps that works this way tha I’ve just said.