Skip to content

Commit

Permalink
Improve the update of the date of Glucose View Header.
Browse files Browse the repository at this point in the history
  • Loading branch information
avouspierre committed Oct 8, 2023
1 parent 0a1f1dc commit 440be77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import SwiftUI

struct CurrentGlucoseView: View {
@Binding var recentGlucose: BloodGlucose?
@Binding var timerDate: Date
@Binding var delta: Int?
@Binding var units: GlucoseUnits
@Binding var alarm: GlucoseAlarm?
Expand Down
1 change: 1 addition & 0 deletions FreeAPS/Sources/Modules/Home/View/HomeRootView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ extension Home {
var glucoseView: some View {
CurrentGlucoseView(
recentGlucose: $state.recentGlucose,
timerDate: $state.timerDate,
delta: $state.glucoseDelta,
units: $state.units,
alarm: $state.alarm,
Expand Down

0 comments on commit 440be77

Please sign in to comment.