mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
remove extra update action
This commit is contained in:
parent
f581f1d2f3
commit
1316f32343
2 changed files with 0 additions and 14 deletions
|
|
@ -24,9 +24,6 @@ const SPACING: i32 = 6;
|
|||
|
||||
pub struct Navigation {
|
||||
profile: Rc<Profile>,
|
||||
//home: Button,
|
||||
//reload: Button,
|
||||
bookmark: Button,
|
||||
request: Entry,
|
||||
pub g_box: Box,
|
||||
}
|
||||
|
|
@ -64,10 +61,7 @@ impl Navigation {
|
|||
|
||||
Self {
|
||||
profile: profile.clone(),
|
||||
//home,
|
||||
request,
|
||||
//reload,
|
||||
bookmark,
|
||||
g_box,
|
||||
}
|
||||
}
|
||||
|
|
@ -141,11 +135,6 @@ impl Navigation {
|
|||
self.request.identity(&self.profile)
|
||||
}
|
||||
|
||||
pub fn update(&self) {
|
||||
self.bookmark.update(&self.profile, &self.request);
|
||||
self.request.update(&self.profile);
|
||||
}
|
||||
|
||||
// Setters
|
||||
|
||||
pub fn set_request(&self, value: &str) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue