From 35fe1f83e9a6bad2a16cefb7275e92cd682e6490 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sat, 9 Nov 2024 00:25:03 +0200 Subject: [PATCH] fix autoreplacement typo --- src/app/browser/window/tab/item/page.rs | 4 ++-- .../browser/window/tab/item/page/navigation/request/widget.rs | 2 +- 2 files 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 44731bfc..c5edd43b 100644 --- a/src/app/browser/window/tab/item/page.rs +++ b/src/app/browser/window/tab/item/page.rs @@ -287,9 +287,9 @@ impl Page { } } } else { - // Plain text given, make seRch request to default provider + // Plain text given, make search request to default provider let request = gformat!( - "gemini://tlgs.one/seRch?{}", + "gemini://tlgs.one/search?{}", Uri::escape_string(&request, None, false) ); diff --git a/src/app/browser/window/tab/item/page/navigation/request/widget.rs b/src/app/browser/window/tab/item/page/navigation/request/widget.rs index 15024f69..129a53ed 100644 --- a/src/app/browser/window/tab/item/page/navigation/request/widget.rs +++ b/src/app/browser/window/tab/item/page/navigation/request/widget.rs @@ -12,7 +12,7 @@ use gtk::{ use sqlite::Transaction; use std::{cell::RefCell, rc::Rc, time::Duration}; -const PLACEHOLDER_TEXT: &str = "URL or seRch term..."; +const PLACEHOLDER_TEXT: &str = "URL or search term..."; // Progress bar animation setup const PROGRESS_ANIMATION_STEP: f64 = 0.05;