mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
begin request entry refactory
This commit is contained in:
parent
5255708be3
commit
e7bd5bbdc6
24 changed files with 351 additions and 849 deletions
|
|
@ -54,7 +54,7 @@ impl Page {
|
|||
|
||||
let navigation = Rc::new(Navigation::build(
|
||||
profile,
|
||||
(browser_action, window_action, tab_action, item_action),
|
||||
(window_action, tab_action, item_action),
|
||||
));
|
||||
|
||||
let input = Rc::new(Input::new());
|
||||
|
|
@ -92,7 +92,7 @@ impl Page {
|
|||
let result = match self
|
||||
.profile
|
||||
.bookmark
|
||||
.toggle(self.navigation.request.widget.entry.text().as_str())
|
||||
.toggle(self.navigation.request.entry.text().as_str())
|
||||
{
|
||||
Ok(result) => Ok(result),
|
||||
Err(_) => Err(Error::Bookmark), // @TODO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue