private static int getIntDirect(final String prefKey, final int defaultValue) {
        return sharedPrefs == null ? defaultValue : sharedPrefs.getInt(prefKey, defaultValue);
    }
Follow the global system setting for dark mode.
main/src/main/java/cgeo/geocaching/settings/Settings.java