summaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/preferences_storage.xml
diff options
context:
space:
mode:
authorPetar Kukolj <petarkukolj3@yahoo.com>2018-11-29 21:23:36 +0100
committerPetar Kukolj <petarkukolj3@yahoo.com>2018-11-29 21:56:29 +0100
commita1f81d4144bacc01ed7f65efc3daaa063c8f32d6 (patch)
treead4ca5515711a1349a3e2c9de940d1ba7de627bb /app/src/main/res/xml/preferences_storage.xml
parente70a9001dc08c02a51ddda7251387840c2f3ed46 (diff)
downloadAntennaPod-a1f81d4144bacc01ed7f65efc3daaa063c8f32d6.zip
Add delete option to episode's context menu
This PR makes following changes: - Adds delete option to episode's context menus in queue and feed list - Adds a storage preference that allows episodes to be automatically removed from queue when they are deleted (by clicking delete in context menu, or pressing trash can icon on `Completed` tab of `Downloads` page) - Adds a test for the aforementioned preference
Diffstat (limited to 'app/src/main/res/xml/preferences_storage.xml')
-rw-r--r--app/src/main/res/xml/preferences_storage.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/res/xml/preferences_storage.xml b/app/src/main/res/xml/preferences_storage.xml
index fe48cc99c..989bb68d7 100644
--- a/app/src/main/res/xml/preferences_storage.xml
+++ b/app/src/main/res/xml/preferences_storage.xml
@@ -25,6 +25,12 @@
android:key="prefFavoriteKeepsEpisode"
android:summary="@string/pref_favorite_keeps_episodes_sum"
android:title="@string/pref_favorite_keeps_episodes_title"/>
+ <SwitchPreference
+ android:defaultValue="false"
+ android:enabled="true"
+ android:key="prefDeleteRemovesFromQueue"
+ android:summary="@string/pref_delete_removes_from_queue_sum"
+ android:title="@string/pref_delete_removes_from_queue_title"/>
<PreferenceCategory android:title="@string/import_export_pref">
<Preference