mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
remove extra components, apply clippy
This commit is contained in:
parent
dd5d79bac4
commit
0abc4e8932
2 changed files with 1 additions and 17 deletions
|
|
@ -80,7 +80,6 @@ impl Form {
|
|||
}
|
||||
});
|
||||
|
||||
// Connect events
|
||||
navigation.back.button.connect_clicked({
|
||||
let subject = subject.clone();
|
||||
let navigation = navigation.clone();
|
||||
|
|
@ -131,14 +130,6 @@ impl Form {
|
|||
pub fn hide(&self) {
|
||||
self.g_box.set_visible(false)
|
||||
}
|
||||
|
||||
pub fn toggle(&self) {
|
||||
if self.g_box.is_visible() {
|
||||
self.hide()
|
||||
} else {
|
||||
self.show()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Tools
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue