Statistics: Minor style-nit followup to #10968

Too late to avoid the whitespace diff churn, unfortunately ;).
This commit is contained in:
NiLuJe
2023-10-09 17:57:36 +02:00
parent 517731dbbb
commit d039aa5f3a

View File

@@ -3056,15 +3056,14 @@ function ReaderStatistics:onShowReaderProgress()
end
function ReaderStatistics:onShowBookStats()
if self:isEnabled() then
self.kv = KeyValuePage:new{
title = _("Current statistics"),
kv_pairs = self:getCurrentStat(),
value_align = "right",
single_page = true,
}
UIManager:show(self.kv)
end
if not self:isEnabled() then return end
self.kv = KeyValuePage:new{
title = _("Current statistics"),
kv_pairs = self:getCurrentStat(),
value_align = "right",
single_page = true,
}
UIManager:show(self.kv)
end
function ReaderStatistics:getCurrentBookReadPages()