diff --git a/app/src/main/java/acr/browser/lightning/dialog/LightningDialogBuilder.java b/app/src/main/java/acr/browser/lightning/dialog/LightningDialogBuilder.java index 46f23d8..506debd 100644 --- a/app/src/main/java/acr/browser/lightning/dialog/LightningDialogBuilder.java +++ b/app/src/main/java/acr/browser/lightning/dialog/LightningDialogBuilder.java @@ -187,8 +187,8 @@ public class LightningDialogBuilder { new BrowserDialog.Item(R.string.dialog_delete_all_downloads) { @Override public void onClick() { - // TODO: fix refreshing downloads page mDownloadsModel.deleteAllDownloads().subscribeOn(Schedulers.io()).subscribe(); + uiController.handleDownloadDeleted(); } }); }