2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00

Merge pull request #361 from giorgio130/master

Fix DPI for nex Kobo Aura (phoenix).
This commit is contained in:
Qingping Hou 2013-11-17 15:32:30 -08:00
commit 6aa995f4ad

View File

@ -110,7 +110,9 @@ function Screen:getHeight()
end
function Screen:getDPI()
if(self.device:getModel() == "KindlePaperWhite") or (self.device:getModel() == "Kobo_kraken") then
if(self.device:getModel() == "KindlePaperWhite")
or (self.device:getModel() == "Kobo_kraken")
or (self.device:getModel() == "Kobo_phoenix") then
return 212
elseif self.device:getModel() == "Kobo_dragon" then
return 265