minor fix
This commit is contained in:
parent
c3b83018a9
commit
aabac6f528
@ -177,7 +177,7 @@ fun DiscountCard(product : ProductModel){
|
||||
|
||||
Button(
|
||||
onClick = {
|
||||
product.id?.let { homeViewModel.addProductToCart(it, preferencesManager.getData("user_id", "null")) }
|
||||
product.id?.let { homeViewModel.addProductToCart(it, preferencesManager.getData("token", "null")) }
|
||||
},
|
||||
colors = ButtonDefaults.buttonColors(
|
||||
backgroundColor = MyLightYellow,
|
||||
|
Loading…
Reference in New Issue
Block a user