Merge pull request #4660 from ByteHamster/fix-clear-download-log

Fixed clear download log menu item
This commit is contained in:
ByteHamster 2020-11-06 22:57:24 +01:00 committed by GitHub
commit 3326f91573
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ public class DownloadLogFragment extends ListFragment {
public boolean onOptionsItemSelected(@NonNull MenuItem item) {
if (!super.onOptionsItemSelected(item)) {
switch (item.getItemId()) {
case R.id.clear_history_item:
case R.id.clear_logs_item:
DBWriter.clearDownloadLog();
return true;
case R.id.refresh_item: