Skip to content

Commit

Permalink
Fixed incorrect settings mapping.
Browse files Browse the repository at this point in the history
  • Loading branch information
Delubear committed Sep 26, 2024
1 parent e0cacbe commit 1b36d22
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions GlucoseTray/GlucoseSettings/SettingsProxy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,20 +52,20 @@ public GlucoseUnitType GlucoseUnit

public double WarningHighBg
{
get => _options.CurrentValue.WarningLowBg;
set => _options.CurrentValue.WarningLowBg = value;
get => _options.CurrentValue.WarningHighBg;
set => _options.CurrentValue.WarningHighBg = value;
}

public double HighBg
{
get => _options.CurrentValue.LowBg;
set => _options.CurrentValue.LowBg = value;
get => _options.CurrentValue.HighBg;
set => _options.CurrentValue.HighBg = value;
}

public double WarningLowBg
{
get => _options.CurrentValue.CriticalLowBg;
set => _options.CurrentValue.CriticalLowBg = value;
get => _options.CurrentValue.WarningLowBg;
set => _options.CurrentValue.WarningLowBg = value;
}

public double LowBg
Expand Down
2 changes: 1 addition & 1 deletion GlucoseTray/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"appsettings": {
"Version": "15.1.7",
"Version": "15.1.8",
"Url": "https://github.com/Delubear/GlucoseTray"
}
}

0 comments on commit 1b36d22

Please sign in to comment.