Skip to content
Snippets Groups Projects
Commit bb1eba79 authored by fheyming's avatar fheyming
Browse files

Fixed fav same name bug

parent 5da617dc
No related branches found
No related tags found
1 merge request!1Mal aufn Master megren
......@@ -6,7 +6,7 @@
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:icon="@drawable/mampfmobil_logo"
android:label="@string/app_name"
android:roundIcon="@drawable/mampfmobil_logo"
android:supportsRtl="true"
......
......@@ -55,7 +55,7 @@ public class Recyclerviewadapter_Shop extends RecyclerView.Adapter<Recyclerviewa
boolean found = false;
for(ShopItem sI:favs ){
if(sI.item.name.equals(shopItemList.get(position).item.name)){
if(sI.item == shopItemList.get(position).item){
found = true;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment