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:
commit
6aa995f4ad
@ -110,7 +110,9 @@ function Screen:getHeight()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function Screen:getDPI()
|
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
|
return 212
|
||||||
elseif self.device:getModel() == "Kobo_dragon" then
|
elseif self.device:getModel() == "Kobo_dragon" then
|
||||||
return 265
|
return 265
|
||||||
|
Loading…
Reference in New Issue
Block a user