From d752fe18fb1d530455040260757d425920818969 Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 12 Dec 2024 12:15:47 +0200 Subject: [PATCH] connect mime status --- src/app/browser/window/tab/item/page.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/browser/window/tab/item/page.rs b/src/app/browser/window/tab/item/page.rs index 35892bd7..6c79094f 100644 --- a/src/app/browser/window/tab/item/page.rs +++ b/src/app/browser/window/tab/item/page.rs @@ -677,15 +677,15 @@ impl Page { } ); }, - _ => { + mime => { // Define common data let status = Status::Failure; let title = "Oops"; - let description = gformat!("Content type not supported"); + let description = gformat!("Content type `{mime}` yet not supported!"); // Update widget content - .to_status_failure() + .to_status_mime() .set_title(title) .set_description(Some(&description));