mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
implement tab loading indicator
This commit is contained in:
parent
5f47253057
commit
472aadb9d3
2 changed files with 20 additions and 7 deletions
|
|
@ -85,7 +85,11 @@ impl Item {
|
|||
}
|
||||
|
||||
pub fn update(&self) {
|
||||
// Update child components
|
||||
self.page.update();
|
||||
|
||||
// Update tab loading indicator
|
||||
self.widget.gobject().set_loading(self.page.is_loading());
|
||||
}
|
||||
|
||||
pub fn clean(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue