mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
remove extra getters
This commit is contained in:
parent
e27f977bcd
commit
2e8ee31cb0
3 changed files with 4 additions and 12 deletions
|
|
@ -350,7 +350,7 @@ impl Page {
|
|||
|
||||
pub fn progress_fraction(&self) -> Option<f64> {
|
||||
// Interpret status to progress fraction
|
||||
match self.meta.status() {
|
||||
match *self.meta.status.borrow() {
|
||||
Status::Reload | Status::SessionRestore => Some(0.0),
|
||||
Status::Resolving => Some(0.1),
|
||||
Status::Resolved => Some(0.2),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue