mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-13 06:01:37 +00:00
Simplify invocation of 'done' callback
This commit is contained in:
parent
b74917f484
commit
0ee576f8e9
@ -59,8 +59,7 @@ public static class DirectoryInfoExtensions
|
||||
|
||||
reportCurrentTotalSize(totalSize);
|
||||
reportCurrentNumFiles(numFiles);
|
||||
|
||||
if(done is not null)
|
||||
done();
|
||||
|
||||
done?.Invoke();
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user