diff --git a/core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java b/core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java index 8d8c6e65d..4cc1a9c32 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java +++ b/core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java @@ -415,9 +415,9 @@ public class UserPreferences { defaultValue.add("images"); Set allowed = prefs.getStringSet(PREF_MOBILE_UPDATE, defaultValue); if (allow) { - allowed.remove(type); - } else { allowed.add(type); + } else { + allowed.remove(type); } prefs.edit().putStringSet(PREF_MOBILE_UPDATE, allowed).apply(); }