Books are now deleted correctly

Still need to handle all the network related errors...
This commit is contained in:
Bradlee Speice
2014-11-12 01:01:34 -05:00
parent 8137c4795a
commit 18c9df404e
3 changed files with 16 additions and 11 deletions

View File

@ -90,7 +90,7 @@ public class BookItemHolder {
public void onDownloadItem(View v) {
if (bookManager.isInstalled(b)) {
// Remove the book
boolean didRemove = bookManager.removeBook(b, bookManager.getRealDriver(b));
boolean didRemove = bookManager.removeBook(b, bookManager.getRealBook(b));
if (didRemove) {
isDownloaded.setImageResource(R.drawable.ic_action_download);
} else {