fix: performance_action_clear_shaders

This commit is contained in:
xkeyC 2024-03-16 20:11:06 +08:00
parent 085c1e02c3
commit 2d178bfa5e

View File

@ -217,7 +217,7 @@ class HomePerformanceUIModel extends _$HomePerformanceUIModel {
state = state.copyWith(workingString: S.current.performance_action_clear_shaders);
await cleanShaderCache(null);
}
state = state.copyWith(workingString: "");
state = state.copyWith(workingString: S.current.performance_info_done);
await await Future.delayed(const Duration(milliseconds: 300));
await _init();
state = state.copyWith(workingString: "");