From be3aed4060de5e69f0c4299c571a78b02c214aec Mon Sep 17 00:00:00 2001 From: xkeyC <3334969096@qq.com> Date: Sat, 16 Mar 2024 17:26:46 +0800 Subject: [PATCH] fix: performance_action_clear_shaders --- lib/ui/home/performance/performance_ui_model.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ui/home/performance/performance_ui_model.dart b/lib/ui/home/performance/performance_ui_model.dart index c74e091..f87788c 100644 --- a/lib/ui/home/performance/performance_ui_model.dart +++ b/lib/ui/home/performance/performance_ui_model.dart @@ -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() {