mirror of
https://github.com/MinimalBible/MinimalBible
synced 2025-07-13 03:35:20 -04:00
Books are now deleted correctly
Still need to handle all the network related errors...
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user