mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 05:23:44 +08:00
fix: performance_action_clear_shaders
This commit is contained in:
parent
7882159139
commit
be3aed4060
@ -217,10 +217,10 @@ class HomePerformanceUIModel extends _$HomePerformanceUIModel {
|
|||||||
state = state.copyWith(workingString: S.current.performance_action_clear_shaders);
|
state = state.copyWith(workingString: S.current.performance_action_clear_shaders);
|
||||||
await cleanShaderCache(null);
|
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 await Future.delayed(const Duration(milliseconds: 300));
|
||||||
await _init();
|
await _init();
|
||||||
state = state.copyWith(workingString: S.current.performance_action_clear_shaders);
|
state = state.copyWith(workingString: "");
|
||||||
}
|
}
|
||||||
|
|
||||||
updateState() {
|
updateState() {
|
||||||
|
Loading…
Reference in New Issue
Block a user