Action to remove read local chapters
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:padding="?dialogPreferredPadding">
|
||||
android:paddingHorizontal="?dialogPreferredPadding"
|
||||
android:paddingTop="?dialogPreferredPadding">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView_path_label"
|
||||
@@ -51,4 +52,13 @@
|
||||
app:drawableStartCompat="@drawable/bg_rounded_square"
|
||||
app:drawableTint="?colorSecondaryContainer" />
|
||||
|
||||
<com.google.android.material.chip.Chip
|
||||
android:id="@+id/chip_cleanup"
|
||||
style="@style/Widget.Kotatsu.Chip.Assist"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:text="@string/delete_read_chapters"
|
||||
app:chipIcon="@drawable/ic_delete" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -623,4 +623,9 @@
|
||||
<string name="migrate_confirmation">Manga \"%1$s\" from \"%2$s\" will be replaced with \"%3$s\" from \"%4$s\" in your history and favorites (if present)</string>
|
||||
<string name="manga_migration">Manga migration</string>
|
||||
<string name="migration_completed">Migration completed</string>
|
||||
<string name="delete_read_chapters">Delete read chapters</string>
|
||||
<string name="no_chapters_deleted">No chapters have been deleted</string>
|
||||
<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>
|
||||
</resources>
|
||||
|
||||
@@ -83,6 +83,12 @@
|
||||
android:summary="@string/clear_cookies_summary"
|
||||
android:title="@string/clear_cookies" />
|
||||
|
||||
<Preference
|
||||
android:key="chapters_clear"
|
||||
android:persistent="false"
|
||||
android:summary="@string/delete_read_chapters_summary"
|
||||
android:title="@string/delete_read_chapters" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user