Skip to content

Commit 6a6670b

Browse files
committed
Refactor ListViewItem creation to use ToListViewText.
Updated the ListViewItem initialization to ensure proper text formatting by calling `ToListViewText` on `paragraph.Text` and `result`. This improves readability and consistency in the UI output.
1 parent 2959ce0 commit 6a6670b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Commas/Main.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ await Task.Run(async () =>
148148

149149
if (beforeFixCommaCount != afterFixCommaCount)
150150
{
151-
progress.Report((new ListViewItem(new[] { paragraph.Text, result })
151+
progress.Report((new ListViewItem(new[] { paragraph.Text.ToListViewText(), result.ToListViewText() })
152152
{
153153
Tag = paragraph,
154154
}, index));

0 commit comments

Comments
 (0)