mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
bump base to decouple G_reader_settings from core
This commit is contained in:
committed by
Frans de Jonge
parent
634fed5487
commit
dd1ab7b409
2
base
2
base
Submodule base updated: 5cce446825...7fb4218747
@@ -2,7 +2,7 @@ local _ = require("gettext")
|
||||
local Screen = require("device").screen
|
||||
local T = require("ffi/util").template
|
||||
|
||||
local function dpi() return G_reader_settings:readSetting("screen_dpi") end
|
||||
local function dpi() return Screen:getDPI() end
|
||||
|
||||
local function custom() return G_reader_settings:readSetting("custom_screen_dpi") end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user