mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
remove extra Uri conversion
This commit is contained in:
parent
c7a9a62566
commit
fc87c4ce00
4 changed files with 13 additions and 13 deletions
|
|
@ -138,7 +138,7 @@ impl Request {
|
|||
// Indicate proxy connections
|
||||
{
|
||||
const C: &str = "accent";
|
||||
if uri(e).is_some_and(|u| p.proxy.matches(&u).is_some()) {
|
||||
if p.proxy.matches(&e.text()).is_some() {
|
||||
e.set_css_classes(&[C])
|
||||
} else {
|
||||
e.remove_css_class(C)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue