mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-29 21:37:56 +01:00
Improve download manager. Add an option to select the number of threads for downloads.
This commit is contained in:
@@ -14,4 +14,10 @@
|
||||
<item>4</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="download_threads">
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
@@ -6,4 +6,5 @@
|
||||
<string name="pref_fullscreen_key">pref_fullscreen_key</string>
|
||||
<string name="pref_default_viewer_key">pref_default_viewer_key</string>
|
||||
<string name="pref_download_directory_key">pref_download_directory_key</string>
|
||||
<string name="pref_download_threads_key">pref_download_threads_key</string>
|
||||
</resources>
|
||||
@@ -92,5 +92,6 @@
|
||||
<string name="notification_completed">Update completed</string>
|
||||
<string name="notification_no_new_chapters">No new chapters found</string>
|
||||
<string name="notification_new_chapters">Found new chapters for:</string>
|
||||
<string name="pref_download_threads">Download threads</string>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -2,4 +2,11 @@
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orderingFromXml="true">
|
||||
|
||||
<ListPreference android:title="@string/pref_download_threads"
|
||||
android:key="@string/pref_download_threads_key"
|
||||
android:entries="@array/download_threads"
|
||||
android:entryValues="@array/download_threads"
|
||||
android:defaultValue="1"
|
||||
android:summary="%s"/>
|
||||
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user