MittereggerMartin commented on issue #747: Dark Mode Support Android Q URL: https://github.com/apache/cordova-android/issues/747#issuecomment-611427048 I have the same issue - dark mode seems to be enabled since the following if statement evaluates to true. ``` if (window.matchMedia('(prefers-color-scheme)').media !== 'not all') { console.log('Dark mode is supported'); } ``` But the css media query always returns no-preference - no matter if dark mode is enabled or not.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
