remove extra const

This commit is contained in:
yggverse 2025-01-27 16:54:04 +02:00
parent c80a31af9c
commit 3ccb20f2f4

View File

@ -12,7 +12,6 @@ use gtk::{
use sqlite::Transaction;
use std::{cell::Cell, rc::Rc};
const PLACEHOLDER_TEXT: &str = "URL or search term...";
const PREFIX_DOWNLOAD: &str = "download:";
const PREFIX_SOURCE: &str = "source:";
@ -62,7 +61,7 @@ impl Request for Entry {
fn request(item_action: &Rc<ItemAction>, profile: &Rc<Profile>) -> Self {
// Init main widget
let entry = Entry::builder()
.placeholder_text(PLACEHOLDER_TEXT)
.placeholder_text("URL or search term...")
.secondary_icon_tooltip_text("Go to the location")
.hexpand(true)
.build();