Changed icon to new RIT-trademark-free one

Replaced the icon with a more generic tiger pawprint so that I'm not using an RIT trademark, so that I'm prepared for the first App Store release. Also added information about where menu information is being sourced from on the about screen, and fixed a bug where vegetarian/vegan/no beef/no pork toggles would not be written to UserDefaults.
This commit is contained in:
2025-11-12 21:56:50 -05:00
parent 32203033b6
commit e5d87ca488
15 changed files with 97 additions and 65 deletions

View File

@@ -24,9 +24,9 @@ func parseFDMealPlannerMenu(menu: FDMealsParser) -> [FDMenuItem] {
// englishAlternateName holds the proper name of the item, but it's blank for some items for some reason. If that's the
// case, then we should fall back on componentName, which is less user-friendly but works as a backup.
let realName = if recipe.englishAlternateName != "" {
recipe.englishAlternateName
recipe.englishAlternateName.trimmingCharacters(in: .whitespaces)
} else {
recipe.componentName
recipe.componentName.trimmingCharacters(in: .whitespaces)
}
let allergens = recipe.allergenName != "" ? recipe.allergenName.components(separatedBy: ",") : []
// Get the list of dietary markers (Vegan, Vegetarian, Pork, Beef), and drop "Vegetarian" if "Vegan" is also included since