Skip to content

handling of eventualBG #203

@mountrcg

Description

@mountrcg

eventualBG from suggestion (rT in oref) receives a special treatment as there was a mistake in oref that did not convert eventualBG via oref function convert_bg(eventualBG,profile) into whatever user had chosen as BG unit. It was always handed over as an Integer in mg/dL. Fixing this in oref will issue errors in fax due to:

  1. @Published var eventualBG: Int?
  2. private func evetualBGStraing() -> String? {

I am easily able to fix 1 and 2, but not 3 and the resulting issues in

if let eventualBG = state.eventualBG {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions