mirror of
https://github.com/bleackstorm/satiea.git
synced 2026-12-03 07:41:56 +01:00
feat: implement weekly meal planning and inventory
- Add Planning module with UI and ViewModel - Update database schema to support planned meals and inventory - Add camera permission for future features - Refactor food category handling to support multiple tags
This commit is contained in:
1 parent
1331fae119
commit
8e794e6da7
46 files changed
+6335
-192
No files matched your search
@@ -70,6 +70,7 @@ import com.example.data.model.RecipeSuggestion
|
||||
import com.example.data.model.SuggestionUiState
|
||||
import com.example.domain.DailyBenchmarkGap
|
||||
import com.example.ui.common.FoodCategoryColorDot
|
||||
import com.example.ui.common.FoodCategoryColorDotsRow
|
||||
import com.example.ui.common.badgeBorderColor
|
||||
import com.example.ui.common.badgeContainerColor
|
||||
import com.example.ui.common.badgeTextColor
|
||||
@@ -591,7 +592,11 @@ private fun SuggestedRecipeCard(
|
||||
verticalAlignment = Alignment.CenterVertically,
|
||||
horizontalArrangement = Arrangement.spacedBy(8.dp)
|
||||
) {
|
||||
FoodCategoryColorDot(category = item.resolvedCategory(), size = 8.dp)
|
||||
FoodCategoryColorDotsRow(
|
||||
categories = item.resolvedCategories(),
|
||||
dotSize = 8.dp,
|
||||
spacing = 2.dp
|
||||
)
|
||||
Text(
|
||||
text = item.displayBadge(),
|
||||
style = MaterialTheme.typography.bodySmall,
|
||||
|
||||
Reference in new issue
Block a user