Implemented allergen functionality by showing the user a bottom sheet

This commit is contained in:
denizk0461
2023-04-23 20:33:17 +02:00
parent b957172721
commit ca89e68a91
10 changed files with 251 additions and 14 deletions
@@ -19,6 +19,7 @@ import androidx.room.ColumnInfo
* @param price students' price for the individual canteen offer
* @param dietaryPreferences dietary preferences used to filter for the user's needs - see
* DietaryPrefObject.kt
* @param allergens allergens and additives that are present in the item
*/
data class CanteenOffer(
val itemId: Int,
@@ -31,4 +32,5 @@ data class CanteenOffer(
val title: String,
val price: String,
@ColumnInfo(name = "dietary_preferences") val dietaryPreferences: String,
val allergens: String,
)