Merge pull request #3885 from ByteHamster/new-episodes-default
Change default drawer counter to 'new episodes'
This commit is contained in:
commit
727e83eac6
|
@ -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"
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue