Dark Mode theme Issue

If Change the device native dark mode, not able to retrieve the eventListener in ionic react