diff --git a/app/src/main/java/us/shandian/giga/ui/fragment/MissionsFragment.java b/app/src/main/java/us/shandian/giga/ui/fragment/MissionsFragment.java
index edaa01e0f..98231cffe 100644
--- a/app/src/main/java/us/shandian/giga/ui/fragment/MissionsFragment.java
+++ b/app/src/main/java/us/shandian/giga/ui/fragment/MissionsFragment.java
@@ -190,14 +190,10 @@ public class MissionsFragment extends Fragment {
return true;
case R.id.clear_list:
AlertDialog.Builder prompt = new AlertDialog.Builder(mContext);
- View checkBoxView = View.inflate(this.getContext(), R.layout.delete_files_checkbox, null);
prompt.setTitle(R.string.clear_finished_download);
prompt.setMessage(R.string.confirm_prompt);
- prompt.setView(checkBoxView);
- prompt.setPositiveButton(android.R.string.ok, (dialog, which) -> {
- CheckBox checkBox = checkBoxView.findViewById(R.id.delete_files_checkbox);
- mAdapter.clearFinishedDownloads(checkBox.isChecked());
- });
+ prompt.setPositiveButton(R.string.clear_finished_download, (dialog, which) -> mAdapter.clearFinishedDownloads(false));
+ prompt.setNeutralButton(R.string.delete_downloaded_files, (dialog, which) -> mAdapter.clearFinishedDownloads(true));
prompt.setNegativeButton(R.string.cancel, null);
prompt.create().show();
return true;
diff --git a/app/src/main/res/layout/delete_files_checkbox.xml b/app/src/main/res/layout/delete_files_checkbox.xml
deleted file mode 100644
index cbc6ecd10..000000000
--- a/app/src/main/res/layout/delete_files_checkbox.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index d3899583b..94a50972f 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -570,7 +570,7 @@
Connection timeout
Cannot recover this download
Clear finished downloads
- Are you sure?
+ Do you want to clear your download history or delete all downloaded files?
Stop
Maximum retries
Maximum number of attempts before canceling the download