remove extra getters

This commit is contained in:
yggverse 2024-12-10 01:10:47 +02:00
parent e27f977bcd
commit 2e8ee31cb0
3 changed files with 4 additions and 12 deletions

View file

@ -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),