update: Unp4kCModel Duration.zero

This commit is contained in:
xkeyC 2024-04-17 23:37:28 +08:00
parent a8e91d6332
commit 2c71f3baba

View File

@ -118,7 +118,7 @@ class Unp4kCModel extends _$Unp4kCModel {
if (i == nextAwait) { if (i == nextAwait) {
state = state.copyWith( state = state.copyWith(
endMessage: "正在处理文件 ($i/${p4kFiles.length}) ..."); endMessage: "正在处理文件 ($i/${p4kFiles.length}) ...");
await Future.delayed(const Duration(microseconds: 0)); await Future.delayed(Duration.zero);
nextAwait += 20000; nextAwait += 20000;
} }
} }