Skip to content

Commit

Permalink
remove extra const
Browse files Browse the repository at this point in the history
  • Loading branch information
yggverse committed Jan 27, 2025
1 parent c80a31a commit 3ccb20f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/browser/window/tab/item/page/navigation/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:";

Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 3ccb20f

Please sign in to comment.