Fix category handling, recipe management, and dark mode toggle tint
- Map uncategorized category between * (internal) and empty string (API) so selecting Sonstige/Other correctly persists to the server - Default new recipes to Other (*) category and remove None option - Add "New Category" option to category picker in recipe edit view - Include newly created/imported recipes in recently viewed list and pre-fetch thumbnails so images display immediately - Remove deleted recipes from recently viewed list - Remove broad .tint(.primary) from RecipeTabView that caused white toggles in Settings during dark mode - Rename German "Other" translation from Andere to Sonstige - Add missing translations for Servings stepper and new category strings Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -374,6 +374,8 @@ import UIKit
|
||||
})
|
||||
recipeDetails.removeValue(forKey: id)
|
||||
}
|
||||
recentRecipes.removeAll { $0.recipe_id == id }
|
||||
await saveLocal(recentRecipes, path: "recent_recipes.data")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user