Device: Drop unused device capabilities

This commit is contained in:
NiLuJe committed 2022-12-31 00:53:29 +01:00
1 parent 554520463d
commit 144706654d
4 files changed
+1 -15

No files matched your search

-7
View File
@@ -188,13 +188,6 @@ CanvasContext:init(Device)
-- Handle one time migration stuff (settings, deprecation, ...) in case of an upgrade...
require("ui/data/onetime_migration")
-- Touch screen (this may display some widget, on first install on Kobo Touch,
-- so have it done after CanvasContext:init() but before Bidi.setup() to not
-- have mirroring mess x/y probing).
if Device:needsTouchScreenProbe() then
Device:touchScreenProbe()
end
-- UI mirroring for RTL languages, and text shaping configuration
local Bidi = require("ui/bidi")
Bidi.setup(lang_locale)