From 9b8d13929daa070fb3d0eb75156cd14ad3513168 Mon Sep 17 00:00:00 2001 From: Cyberarm Date: Sat, 27 May 2023 09:34:25 -0500 Subject: [PATCH] Fixed always repainting due to Boot state not popping --- lib/states/boot.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/states/boot.rb b/lib/states/boot.rb index c70227c..6986c54 100644 --- a/lib/states/boot.rb +++ b/lib/states/boot.rb @@ -56,7 +56,10 @@ class W3DHub load_offline_applications_list if @offline_mode - push_state(States::Interface) if @offline_mode || (@progressbar.value >= 1.0 && @task_index == @tasks.size) + if @offline_mode || (@progressbar.value >= 1.0 && @task_index == @tasks.size) + pop_state + push_state(States::Interface) + end return if @offline_mode