fix: popup texts
Linux / build (push) Waiting to run
MacOS / build (push) Waiting to run
Windows / build (push) Waiting to run

This commit is contained in:
veeso
2024-10-02 12:59:53 +02:00
parent 31c5ad7534
commit c507d54700
@@ -131,7 +131,10 @@ impl FilterPopup {
"regex or wildmatch", "regex or wildmatch",
Style::default().fg(Color::Rgb(128, 128, 128)), Style::default().fg(Color::Rgb(128, 128, 128)),
) )
.title("Filter files by regex or wildmatch", Alignment::Center), .title(
"Filter files by regex or wildmatch in the current directory",
Alignment::Center,
),
} }
} }
} }
@@ -596,11 +599,8 @@ impl FindPopup {
) )
.foreground(color) .foreground(color)
.input_type(InputType::Text) .input_type(InputType::Text)
.placeholder( .placeholder("*.txt", Style::default().fg(Color::Rgb(128, 128, 128)))
"Search files by name", .title("Search files by name or wildmatch", Alignment::Center),
Style::default().fg(Color::Rgb(128, 128, 128)),
)
.title("*.txt", Alignment::Center),
} }
} }
} }