Add optional to automatically download new chapers (#538)

* Add optional to automatically download new chapers

* Only trigger download once
This commit is contained in:
Robin Appelman
2016-12-06 17:22:03 +01:00
committed by inorichi
parent 30b4c6e755
commit 8b60d5bfcb
7 changed files with 51 additions and 14 deletions

View File

@@ -65,6 +65,8 @@
<string name="pref_display_catalogue_as_list">pref_display_catalogue_as_list</string>
<string name="pref_last_catalogue_source_key">pref_last_catalogue_source_key</string>
<string name="pref_download_new_key">download_new</string>
<!-- String Fonts -->
<string name="font_roboto_medium">sans-serif</string>
<string name="font_roboto_regular">sans-serif</string>

View File

@@ -166,6 +166,7 @@
<string name="third_to_last">Third to last chapter</string>
<string name="fourth_to_last">Fourth to last chapter</string>
<string name="fifth_to_last">Fifth to last chapter</string>
<string name="pref_download_new">Download new chapters</string>
<!-- Sync section -->
<string name="services">Services</string>

View File

@@ -44,6 +44,15 @@
android:summary="%s"
android:title="@string/pref_remove_after_read" />
<PreferenceCategory
android:persistent="false"
android:title="@string/pref_download_new" />
<SwitchPreference
android:defaultValue="false"
android:key="@string/pref_download_new_key"
android:title="@string/pref_download_new"/>
</PreferenceScreen>
</PreferenceScreen>