![Firefox Androidille logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-37-28-a0d9f0_1.png)
Auto switching bg color in reading mode stoped working
After last update auto switching to dark background color in reading mode when there is not enough light stoped working, and now it's always bright white even in complete darkness. Maybe it's just a coincedence and it's me, who've unlnowingly messed up with some options since I'm new to Android but I would appreciate if You cold help me solve this issue.
Valittu ratkaisu
Right. This is because the Device Light Sensor events have been disabled by default in this version.
- Enter about:config in the url bar.
- Set device.sensors.ambientLight.enabled = true.
- Set reader.color_scheme.values to something like ["dark","auto","light"]
- You need the auto value to make it work. Set it using the Aa icon in the reader mode.
Kaikki vastaukset (3)
Valittu ratkaisu
Right. This is because the Device Light Sensor events have been disabled by default in this version.
- Enter about:config in the url bar.
- Set device.sensors.ambientLight.enabled = true.
- Set reader.color_scheme.values to something like ["dark","auto","light"]
- You need the auto value to make it work. Set it using the Aa icon in the reader mode.
Many thanks! You saved my eyes from leaking out :)
The device light sensor API may be removed at some point in the future. When it is removed the about:config preference will no longer function.