You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disable Force Dark Mode when WebView version doesn't support it (#4653)
Task/Issue URL:
https://app.asana.com/0/1157893581871903/1207572180893002/f
### Description
We enabled [✓ Android: Force dark mode in sites that don’t support
it](https://app.asana.com/0/276630244458377/1206630026838095/f)
This was causing the app crash in webview versions that didn’t support
it. Fixed in[✓ setAlgorithmicDarkeningAllowed crashing the
app](https://app.asana.com/0/1125189844152671/1207572075253654/f)
After this fix, devices with webview versions that don’t support
algorithmic darkening won’t see the feature.
This PR removes this option in devices that don’t support it
### Steps to test this PR
_WebView not supported_
- [x] Install this branch in an emulator with an old webview version
- [x] Open Settings / Appearance
- [x] Ensure Dark theme is selected
- [x] Verify that Force Dark Mode is not visible
_WebView supported_
- [x] Install this branch in an emulator with a new webview version
- [x] Open Settings / Appearance
- [x] Ensure Dark theme is selected
- [x] Verify that Force Dark Mode is enabled
- [x] Verify that turning it on enabled force dark mode
0 commit comments