mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
android: make system fonts toggable (#5670)
Also add droid font back to android and remove the workaround
This commit is contained in:
committed by
poire-z
parent
bd793d1ddd
commit
a5069f1c26
@@ -50,7 +50,7 @@ function ReaderFont:init()
|
||||
end
|
||||
-- build face_table for menu
|
||||
self.face_table = {}
|
||||
if Device:isDesktop() then
|
||||
if Device:isAndroid() or Device:isDesktop() then
|
||||
table.insert(self.face_table, require("ui/elements/font_settings"):getMenuTable())
|
||||
end
|
||||
local face_list = cre.getFontFaces()
|
||||
|
||||
Reference in New Issue
Block a user