diff options
author | Martin Fietz <Martin.Fietz@gmail.com> | 2017-06-04 11:49:45 +0200 |
---|---|---|
committer | Martin Fietz <Martin.Fietz@gmail.com> | 2017-06-05 11:26:42 +0200 |
commit | 404a9c2fbfff75c0a15954469209308f57500f78 (patch) | |
tree | 3299bb40ff8fafd133b388747e41b31fc3fdcd82 /app | |
parent | 397cd8c636b9c77c4d4f04ff057a31a49ba370ce (diff) | |
download | AntennaPod-404a9c2fbfff75c0a15954469209308f57500f78.zip |
Refactor
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/activity/FeedInfoActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/activity/FeedInfoActivity.java b/app/src/main/java/de/danoeh/antennapod/activity/FeedInfoActivity.java index 19aabfc88..2a58d5104 100644 --- a/app/src/main/java/de/danoeh/antennapod/activity/FeedInfoActivity.java +++ b/app/src/main/java/de/danoeh/antennapod/activity/FeedInfoActivity.java @@ -228,7 +228,7 @@ public class FeedInfoActivity extends AppCompatActivity { cbxAutoDownload.setChecked(prefs.getAutoDownload()); cbxAutoDownload.setOnCheckedChangeListener((compoundButton, checked) -> { feed.getPreferences().setAutoDownload(checked); - feed.savePreferences(FeedInfoActivity.this); + feed.savePreferences(); updateAutoDownloadSettings(); ApplyToEpisodesDialog dialog = new ApplyToEpisodesDialog(FeedInfoActivity.this, feed, checked); @@ -237,7 +237,7 @@ public class FeedInfoActivity extends AppCompatActivity { cbxKeepUpdated.setChecked(prefs.getKeepUpdated()); cbxKeepUpdated.setOnCheckedChangeListener((compoundButton, checked) -> { feed.getPreferences().setKeepUpdated(checked); - feed.savePreferences(FeedInfoActivity.this); + feed.savePreferences(); }); spnAutoDelete.setOnItemSelectedListener(new OnItemSelectedListener() { @Override |