Clarify that new episodes action cannot be changed when autodownload is enabled (#8227)

This commit is contained in:
Hans-Peter Lehmann
2026-01-16 23:25:58 +01:00
committed by GitHub
parent 6695d5fadd
commit 780ceaa462
3 changed files with 13 additions and 1 deletions

View File

@ -159,6 +159,7 @@
<string name="feed_new_episodes_action_add_to_queue">Add to queue</string>
<string name="feed_new_episodes_action_nothing">Nothing</string>
<string name="feed_new_episodes_action_summary_autodownload">Automatic download enabled. Episodes are added to the inbox and then moved to the queue once downloaded.</string>
<string name="feed_new_episodes_action_snackbar">Cannot be changed when automatic download is enabled.</string>
<string name="episode_cleanup_never">Never</string>
<string name="episode_cleanup_except_favorite_removal">When not favorited</string>
<string name="episode_cleanup_queue_removal">When not in queue</string>

View File

@ -17,6 +17,9 @@ public class MaterialListPreference extends ListPreference {
@Override
protected void onClick() {
if (getOnPreferenceClickListener() != null && getOnPreferenceClickListener().onPreferenceClick(this)) {
return;
}
MaterialAlertDialogBuilder builder = new MaterialAlertDialogBuilder(getContext());
builder.setTitle(getTitle());
builder.setIcon(getDialogIcon());