Skip to content

Commit 269b629

Browse files
committed
fix a bug
1 parent bad9314 commit 269b629

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example/chen_sort.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ class ChenSortExampleState extends State<ChenSortExample> {
6969
if (numberCount <= 0) {
7070
numberCount = defaultNumberCount;
7171
}
72+
setState(() {});
7273
while (isSorting) {
7374
sortResult.add(await compute(compareSort, numberCount));
7475
setState(() {

0 commit comments

Comments
 (0)