From 9f2d9ce110a04f78e92bff85a04709b9019b8db1 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sat, 2 Nov 2024 04:57:17 +0200 Subject: [PATCH] remove status relation --- src/app/browser/window/tab/item/page/meta.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/app/browser/window/tab/item/page/meta.rs b/src/app/browser/window/tab/item/page/meta.rs index 89c3838c..10d5e694 100644 --- a/src/app/browser/window/tab/item/page/meta.rs +++ b/src/app/browser/window/tab/item/page/meta.rs @@ -43,17 +43,6 @@ impl Meta { // Setters pub fn set_status(&self, status: Status) -> &Self { - match status { - Status::Redirect => { - if self.redirect.borrow().is_none() { - panic!("Set `redirect` before use this status") - } - } - _ => { - self.unset_redirect(); - } - }; - self.status.replace(status); self }