mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2026-02-04 09:35:30 +00:00
Clarify that new episodes action cannot be changed when autodownload is enabled (#8227)
This commit is contained in:
committed by
GitHub
parent
6695d5fadd
commit
780ceaa462
@ -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>
|
||||
|
||||
@ -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());
|
||||
|
||||
Reference in New Issue
Block a user