summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2020-02-23 19:31:58 +0100
committerByteHamster <info@bytehamster.com>2020-02-23 19:32:03 +0100
commit1c620628d41761113ef143713351fed50bb37d3c (patch)
tree1fed346d4fa52f1284e1b795ece07bfc13b75114
parent930642cb36b262196ac4f56a1e8e9e582cd42ec8 (diff)
downloadAntennaPod-1c620628d41761113ef143713351fed50bb37d3c.zip
Change default drawer counter to 'new episodes'
instead of new+unplayed
-rw-r--r--app/src/main/res/xml/preferences_user_interface.xml2
-rw-r--r--core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/res/xml/preferences_user_interface.xml b/app/src/main/res/xml/preferences_user_interface.xml
index 20a06c4c4..a2fc970e0 100644
--- a/app/src/main/res/xml/preferences_user_interface.xml
+++ b/app/src/main/res/xml/preferences_user_interface.xml
@@ -28,7 +28,7 @@
android:title="@string/pref_nav_drawer_feed_counter_title"
android:key="prefDrawerFeedIndicator"
android:summary="@string/pref_nav_drawer_feed_counter_sum"
- android:defaultValue="0"/>
+ android:defaultValue="1"/>
<SwitchPreference
android:title="@string/pref_episode_cover_title"
android:key="prefEpisodeCover"
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 383697fa2..b2ea1fa62 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
@@ -236,12 +236,12 @@ public class UserPreferences {
}
public static int getFeedOrder() {
- String value = prefs.getString(PREF_DRAWER_FEED_ORDER, "0");
+ String value = prefs.getString(PREF_DRAWER_FEED_ORDER, "" + FEED_ORDER_COUNTER);
return Integer.parseInt(value);
}
public static int getFeedCounterSetting() {
- String value = prefs.getString(PREF_DRAWER_FEED_COUNTER, "0");
+ String value = prefs.getString(PREF_DRAWER_FEED_COUNTER, "" + FEED_COUNTER_SHOW_NEW);
return Integer.parseInt(value);
}