fix: performance_action_clear_shaders

This commit is contained in:
xkeyC 2024-03-16 17:26:46 +08:00
parent 7882159139
commit be3aed4060

View File

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