Browse Source

fix refreshing page after deleting all bookmarks

simple forgot to add handleDownloadDeleted()
master
DF1E 8 years ago
parent
commit
c07c925ada
  1. 2
      app/src/main/java/acr/browser/lightning/dialog/LightningDialogBuilder.java

2
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) { new BrowserDialog.Item(R.string.dialog_delete_all_downloads) {
@Override @Override
public void onClick() { public void onClick() {
// TODO: fix refreshing downloads page
mDownloadsModel.deleteAllDownloads().subscribeOn(Schedulers.io()).subscribe(); mDownloadsModel.deleteAllDownloads().subscribeOn(Schedulers.io()).subscribe();
uiController.handleDownloadDeleted();
} }
}); });
} }

Loading…
Cancel
Save