From f043ceff0c8c5cff11eedbcd97b56cf0262649a7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 3 Mar 2022 20:12:21 +0530 Subject: [PATCH] calculate time left immediately on load if historical rates are available --- src/pyj/read_book/timers.pyj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pyj/read_book/timers.pyj b/src/pyj/read_book/timers.pyj index cabcca4c5c..36147a14e1 100644 --- a/src/pyj/read_book/timers.pyj +++ b/src/pyj/read_book/timers.pyj @@ -20,6 +20,7 @@ class Timers: self.rates = v'[]' if book.saved_reading_rates?.rates: self.rates = book.saved_reading_rates.rates.slice(0) + self.calculate() def reset_read_timer(self): self.last_scroll_at = None