Skip to content

Commit

Permalink
Change from Bolus_ to Mealbolus_ in meal+bolus textstring to keep uni…
Browse files Browse the repository at this point in the history
…que trigger names
  • Loading branch information
dsnallfot committed Mar 27, 2024
1 parent 690b038 commit 6f30584
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LoopFollow/ViewControllers/MealViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class MealViewController: UIViewController {
return "Meal_Carbs_\(carbs)g_Fat_\(fats)g_Protein_\(proteins)g_Note_\(cleanedMealNotes)"
} else {
// Construct and return the combinedString with bolus
return "Meal_Carbs_\(carbs)g_Fat_\(fats)g_Protein_\(proteins)g_Note_\(cleanedMealNotes)_Bolus_\(trimmedBolusValue)"
return "Meal_Carbs_\(carbs)g_Fat_\(fats)g_Protein_\(proteins)g_Note_\(cleanedMealNotes)_Mealbolus_\(trimmedBolusValue)"
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class RemoteSettingsViewController: FormViewController {

<<< TextRow("RemoteMealBolus"){ row in
row.title = ""
row.value = "Remote Meal and Bolus • Meal_Carbs_25g_Fat_15g_Protein_10g_Note_Testmeal_Bolus_1.0"
row.value = "Remote Meal and Bolus • Meal_Carbs_25g_Fat_15g_Protein_10g_Note_Testmeal_Mealbolus_1.0"
row.cellSetup { cell, row in
cell.textLabel?.font = UIFont.systemFont(ofSize: 10)
}
Expand Down

0 comments on commit 6f30584

Please sign in to comment.