Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
Fix loop status popup; fix loop animation color
Browse files Browse the repository at this point in the history
  • Loading branch information
dnzxy committed Nov 24, 2023
1 parent 0696c19 commit f5d0ca8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions FreeAPS/Sources/Modules/Home/View/Header/LoopView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@ struct LoopView: View {
.frame(height: 3)

if isLooping {
ProgressView()
ProgressView().foregroundColor(Color.loopGreen)
} else {
Text(text)
.padding(4)
.font(.callout)
.fontWeight(.bold)
.bold()
.foregroundColor(color)
}

Expand Down
2 changes: 1 addition & 1 deletion FreeAPS/Sources/Modules/Home/View/HomeRootView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ extension Home {
manualTempBasal: $state.manualTempBasal
)
.onTapGesture {
isStatusPopupPresented = true
state.isStatusPopupPresented = true
}.onLongPressGesture {
let impactHeavy = UIImpactFeedbackGenerator(style: .heavy)
impactHeavy.impactOccurred()
Expand Down

0 comments on commit f5d0ca8

Please sign in to comment.