mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-30 13:04:13 +00:00
fix is loading condition
This commit is contained in:
parent
8974f6bc27
commit
2f22185d6a
@ -197,8 +197,7 @@ impl Page {
|
|||||||
|
|
||||||
/// Get `Self` loading status
|
/// Get `Self` loading status
|
||||||
pub fn is_loading(&self) -> bool {
|
pub fn is_loading(&self) -> bool {
|
||||||
let progress_fraction = self.navigation.request.widget.entry.progress_fraction();
|
self.navigation.request.widget.entry.progress_fraction() > 0.0
|
||||||
progress_fraction > 0.0 && progress_fraction < 1.0
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user