DeliveryConfirmationsDialog: small fixes

This commit is contained in:
2023-10-19 22:35:31 +02:00
parent c190ce1474
commit 8ce4911317
3 changed files with 6 additions and 5 deletions

View File

@ -50,7 +50,7 @@ namespace Elwig.Documents {
progress?.Report(parts[0] / (double)parts[1]);
} else if (line.StartsWith("success:")) {
var m = Regex.Match(line, @"\(([0-9, ]+)\)");
return m.Groups[1].Value.Split(", ").Select(n => int.Parse(n));
return m.Groups[1].Value.Split(", ").Select(int.Parse);
}
}
}