move strip_prefix getter to request api

This commit is contained in:
yggverse 2024-12-11 15:50:04 +02:00
parent 4e0797bd6e
commit 6f038539d6
3 changed files with 17 additions and 19 deletions

View file

@ -72,7 +72,7 @@ impl Navigation {
self.bookmark
.update(self.profile.bookmark.get(&request_text).is_ok());
self.history.update();
self.home.update(&request_text);
self.home.update(&self.request.strip_prefix());
self.reload.update(!request_text.is_empty());
self.request.update(
progress_fraction,