From df07e413bfc87b47d6c3c2fa4ef1b37d0220a49b Mon Sep 17 00:00:00 2001 From: david-hankinson Date: Sat, 29 Jun 2024 14:01:42 +0100 Subject: [PATCH] issue-33026/feat: unit converter, improve data units --- .../Community.PowerToys.Run.Plugin.UnitConverter/UnitHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.UnitConverter/UnitHandler.cs b/src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.UnitConverter/UnitHandler.cs index b6a73b9555..cfce3c6c79 100644 --- a/src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.UnitConverter/UnitHandler.cs +++ b/src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.UnitConverter/UnitHandler.cs @@ -100,7 +100,7 @@ namespace Community.PowerToys.Run.Plugin.UnitConverter toUnit = ConvertToITUUnit(toUnit); } - return return UnitsNet.UnitConverter.Convert(convertModel.Value, fromUnit, toUnit); + return UnitsNet.UnitConverter.Convert(convertModel.Value, fromUnit, toUnit); } return double.NaN;