fix autoreplacement typo

This commit is contained in:
yggverse 2024-11-09 00:25:03 +02:00
parent 6030df6328
commit 35fe1f83e9
2 changed files with 3 additions and 3 deletions

View File

@ -287,9 +287,9 @@ impl Page {
} }
} }
} else { } else {
// Plain text given, make seRch request to default provider // Plain text given, make search request to default provider
let request = gformat!( let request = gformat!(
"gemini://tlgs.one/seRch?{}", "gemini://tlgs.one/search?{}",
Uri::escape_string(&request, None, false) Uri::escape_string(&request, None, false)
); );

View File

@ -12,7 +12,7 @@ use gtk::{
use sqlite::Transaction; use sqlite::Transaction;
use std::{cell::RefCell, rc::Rc, time::Duration}; 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 // Progress bar animation setup
const PROGRESS_ANIMATION_STEP: f64 = 0.05; const PROGRESS_ANIMATION_STEP: f64 = 0.05;