diff --git a/src/app/browser/window/tab/item/page/client/driver.rs b/src/app/browser/window/tab/item/page/client/driver.rs index 471e26ef..2e2fb695 100644 --- a/src/app/browser/window/tab/item/page/client/driver.rs +++ b/src/app/browser/window/tab/item/page/client/driver.rs @@ -127,7 +127,7 @@ impl Driver { }, ), Protocol::Titan { .. } => todo!(), - Protocol::Unsupported => todo!(), + Protocol::Undefined => todo!(), }, Feature::Source(ref protocol) => match protocol { Protocol::Gemini { diff --git a/src/app/browser/window/tab/item/page/client/request/feature/protocol.rs b/src/app/browser/window/tab/item/page/client/request/feature/protocol.rs index 965cf761..a8128a50 100644 --- a/src/app/browser/window/tab/item/page/client/request/feature/protocol.rs +++ b/src/app/browser/window/tab/item/page/client/request/feature/protocol.rs @@ -16,7 +16,7 @@ pub enum Protocol { cancellable: Cancellable, priority: Priority, }, - Unsupported, + Undefined, } impl Protocol { @@ -36,7 +36,7 @@ impl Protocol { cancellable, priority, }, - _ => Self::Unsupported, + _ => Self::Undefined, }, // Search request if the request could not be parsed as the valid [URI](https://docs.gtk.org/glib/struct.Uri.html) // * @TODO implement DNS lookup before apply this option @@ -71,7 +71,7 @@ impl Protocol { cancellable: _, priority: _, } => Some(&uri), - Self::Unsupported => None, + Self::Undefined => None, } } }