minor fix

This commit is contained in:
Данила Мочалов 2023-12-22 20:05:51 +04:00
parent c3b83018a9
commit aabac6f528

View File

@ -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,