mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Statistics: Minor style-nit followup to #10968
Too late to avoid the whitespace diff churn, unfortunately ;).
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user