AppCompat — DayNight
Chris Banes

As it is, it seems way too unreliable getting the mode, with all three switch cases being called even though the theme is set correctly. My temporary workaround is to use an if else statement

}else if(currentNightMode==Configuration.UI_MODE_NIGHT_YES){
} else if(currentNightMode==Configuration.UI_MODE_NIGHT_UNDEFINED){
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.