Skip to content

Commit 1f2b3e9

Browse files
authored
Update HourValueGetFlowHelper.cs
1 parent 38071fa commit 1f2b3e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Timesheet.Create/Step.HourValue.Get/HourValueGetFlowHelper.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ internal static IReadOnlyCollection<IReadOnlyCollection<string>> GetSuggestions(
4343

4444
internal static Optional<decimal> ParseDecimalOrAbsent(string? text)
4545
=>
46-
AwailableCultures.Select(text.ParseWithCultureOrAvsent).FirstOrDefault(r => r.IsPresent);
46+
AwailableCultures.Select(text.ParseWithCultureOrAbsent).FirstOrDefault(r => r.IsPresent);
4747

48-
private static Optional<decimal> ParseWithCultureOrAvsent(this string? text, CultureInfo culture)
48+
private static Optional<decimal> ParseWithCultureOrAbsent(this string? text, CultureInfo culture)
4949
=>
5050
decimal.TryParse(text, NumberStyles.Number, culture, out var value) ? Optional.Present(value) : default;
51-
}
51+
}

0 commit comments

Comments
 (0)