Browse Source

Don't preselect any options in library remove manga/downloads dialog (closes #6333)

Since apparently people don't read and either option is considered destructive to different people.
arkon 3 years ago
parent
commit
cd87c7e88e

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/ui/library/DeleteLibraryMangasDialog.kt

@@ -32,7 +32,7 @@ class DeleteLibraryMangasDialog<T>(bundle: Bundle? = null) :
             .toTypedArray()
 
         val selected = items
-            .mapIndexed { i, _ -> i == 0 }
+            .map { false }
             .toBooleanArray()
         return MaterialAlertDialogBuilder(activity!!)
             .setTitle(R.string.action_remove)