Skip to content

Commit

Permalink
Change again Mealbolus_ -> Insulin_ to avoid tirggering of Bolus_ whe…
Browse files Browse the repository at this point in the history
…n sending Mealbolus_ (iOS shortcuts tirggers is non case sensitive) Bolus_ is handled the same way as bolus_
  • Loading branch information
dsnallfot committed Mar 27, 2024
1 parent 6f30584 commit 9b1fce8
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)_Mealbolus_\(trimmedBolusValue)"
return "Meal_Carbs_\(carbs)g_Fat_\(fats)g_Protein_\(proteins)g_Note_\(cleanedMealNotes)_Insulin_\(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_Mealbolus_1.0"
row.value = "Remote Meal and Bolus • Meal_Carbs_25g_Fat_15g_Protein_10g_Note_Testmeal_Insulin_1.0"
row.cellSetup { cell, row in
cell.textLabel?.font = UIFont.systemFont(ofSize: 10)
}
Expand Down

0 comments on commit 9b1fce8

Please sign in to comment.