Skip to content

Commit

Permalink
oops (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpannella authored Sep 22, 2023
1 parent 9f23ce3 commit 85d60b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pocket_updater.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>2.36.0</Version>
<Version>2.36.1</Version>
<Description>Keep your Analogue Pocket up to date</Description>
<Copyright>2023 Matt Pannella</Copyright>
<Authors>Matt Pannella</Authors>
Expand Down
2 changes: 1 addition & 1 deletion src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ private static async Task SettingsMenu()
var property = type.GetProperty(name);
var value = (bool)property.GetValue(settings.GetConfig());
var title = settingsMenuItem(text, value);
menu.Add(title, (thisMenu) => { property.SetValue(settings.GetConfig(), !value); thisMenu.CurrentItem.Name = settingsMenuItem(text, !value);});
menu.Add(title, (thisMenu) => { value = !value; property.SetValue(settings.GetConfig(), value); thisMenu.CurrentItem.Name = settingsMenuItem(text, value);});
}

menu.Add("Save", (thisMenu) => {thisMenu.CloseMenu();});
Expand Down

0 comments on commit 85d60b0

Please sign in to comment.