Added check for empty list when deleting item in FavoritesActivity
This commit is contained in:
parent
9d7e85a80c
commit
4d331326b0
@ -87,6 +87,7 @@ public class FavoritesActivity extends AppCompatActivity implements MainContract
|
||||
FavoritesListModel model = (FavoritesListModel) listView.getItemAtPosition(info.position);
|
||||
db.removeItem(model.getID());
|
||||
updateListView();
|
||||
checkForEmptyContent();
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user