mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
Fix #2176 - Wrong book's review and rating stars are shown
This commit is contained in:
committed by
Frans de Jonge
parent
21f6c7dcc6
commit
8b95b8fd96
@@ -61,7 +61,16 @@ function BookStatusWidget:init()
|
||||
}
|
||||
self:getStatisticsSettings()
|
||||
if self.settings then
|
||||
self.summary = self.settings:readSetting("summary")
|
||||
if self.settings:readSetting("summary") ~= nil then
|
||||
self.summary = self.settings:readSetting("summary")
|
||||
else
|
||||
self.summary = {
|
||||
rating = nil,
|
||||
note = nil,
|
||||
status = "",
|
||||
modified = "",
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
self.small_font_face = Font:getFace("ffont", 15)
|
||||
|
||||
Reference in New Issue
Block a user