From cbea5335b6decb7d72cc7b7231072fb60fa01485 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 29 Sep 2024 16:06:40 +0300 Subject: [PATCH] enshort construction --- src/browser/main/tab/page/navigation/request.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/browser/main/tab/page/navigation/request.rs b/src/browser/main/tab/page/navigation/request.rs index 98895060..a96de734 100644 --- a/src/browser/main/tab/page/navigation/request.rs +++ b/src/browser/main/tab/page/navigation/request.rs @@ -56,9 +56,8 @@ impl Request { widget.progress_fraction() + PROGRESS_ANIMATION_STEP, ); return ControlFlow::Continue; - } else { - widget.set_progress_fraction(progress_fraction); } + widget.set_progress_fraction(progress_fraction); ControlFlow::Break } });