private static boolean hasKeyDirect(final String prefKey) {
        return sharedPrefs != null && sharedPrefs.contains(prefKey);
    }
Follow the global system setting for dark mode.
main/src/main/java/cgeo/geocaching/settings/Settings.java