Option to automatically clean read chapters

This commit is contained in:
Koitharu
2024-03-13 10:06:39 +02:00
parent 8313d6966f
commit b8e48d8b8a
4 changed files with 20 additions and 1 deletions

View File

@@ -628,4 +628,6 @@
<string name="chapters_deleted_pattern">Removed %1$s, cleared %2$s</string>
<string name="delete_read_chapters_summary">Delete chapters you have already read from local storage to free up space</string>
<string name="delete_read_chapters_prompt">This will permanently delete all chapters marked as read from your local storage. You can re-download it later, but the imported chapters may be lost forever</string>
<string name="delete_read_chapters_auto">Delete read chapters automatically</string>
<string name="runs_on_app_start">Runs when the application starts</string>
</resources>

View File

@@ -89,6 +89,12 @@
android:summary="@string/delete_read_chapters_summary"
android:title="@string/delete_read_chapters" />
<SwitchPreferenceCompat
android:defaultValue="false"
android:key="chapters_clear_auto"
android:summary="@string/runs_on_app_start"
android:title="@string/delete_read_chapters_auto" />
</PreferenceCategory>
</PreferenceScreen>