Merge pull request #361 from giorgio130/master
Fix DPI for nex Kobo Aura (phoenix).
This commit is contained in:
commit
6aa995f4ad
1 file changed
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user