Skip to content

Commit

Permalink
Remove empty space
Browse files Browse the repository at this point in the history
Remove extra whitespace when displaying insulin from the pump
  • Loading branch information
BrianWieder committed Apr 11, 2024
1 parent 51821d2 commit ea57e8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FreeAPS/Sources/Modules/DataTable/DataTableDataFlow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ enum DataTable {
return numberFormatter
.string(from: amount as NSNumber)! + NSLocalizedString(" g", comment: "gram of carb equilvalents")
case .bolus:
var bolusText = " "
var bolusText = ""

if isNonPump ?? false {
bolusText += NSLocalizedString("Non-Pump", comment: "Non-pump Insulin")
bolusText += " " + NSLocalizedString("Non-Pump", comment: "Non-pump Insulin")
}

return numberFormatter
Expand Down

0 comments on commit ea57e8c

Please sign in to comment.