Skip to content

Commit

Permalink
Alt meal string comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dsnallfot committed Mar 24, 2024
1 parent 3f24e0c commit 0a012e9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion LoopFollow/ViewControllers/MealViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,11 @@ class MealViewController: UIViewController {
let method = UserDefaultsRepository.method.value

// Construct and return the combinedString
let combinedString = "Meal_Carbs_\(carbs)g_Fat_\(fats)g_Protein_\(proteins)g_Note_\(cleanedMealNotes)"
let combinedString = "Mealtime\nCarbs \(carbs)g\nFat \(fats)g\nProtein \(proteins)g \nNote \(cleanedMealNotes)"

//Alterntive string formatting below, to present the meal like a menu in imessage.
//let combinedString = "Mealtime\nCarbs \(carbs)g\nFat \(fats)g\nProtein \(proteins)g \nNote \(cleanedMealNotes)"

return combinedString
}

Expand Down

0 comments on commit 0a012e9

Please sign in to comment.