Skip to content

Commit

Permalink
Avoid truncating in info panel
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon-b-m committed Mar 25, 2023
1 parent 2981525 commit 130678c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FreeAPS/Sources/Modules/Home/View/HomeRootView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ extension Home {
)
.font(.system(size: 12, weight: .bold))
.foregroundColor(.orange)
.padding(.trailing, 8)
.padding(.trailing, 2)
if fetchedPercent.first?.enabled ?? false {
Text(
(tirFormatter.string(from: (fetchedPercent.first?.duration ?? 0) as NSNumber) ?? "") == "0" ?
Expand All @@ -248,7 +248,7 @@ extension Home {
)
.font(.system(size: 12))
.foregroundColor(.orange)
.padding(.trailing, 12)
.padding(.trailing, 8)
}

if let progress = state.bolusProgress {
Expand Down

0 comments on commit 130678c

Please sign in to comment.