Update: Replace ProductItem field with function (a first step in refactoring Product)

This commit is contained in:
machiav3lli
2022-02-01 02:41:26 +01:00
parent c3468c466d
commit e36375dcb1
10 changed files with 15 additions and 28 deletions

View File

@@ -240,6 +240,6 @@ val PRODUCT_ASYNC_DIFFER_CONFIG
oldItem: com.looker.droidify.database.entity.Product,
newItem: com.looker.droidify.database.entity.Product
): Boolean {
return oldItem.data_item == newItem.data_item
return oldItem.item() == newItem.item()
}
}).build()