TextEditor: Disable on non-Touch devices

"fix" #7356
This commit is contained in:
NiLuJe committed 2021-05-19 20:55:00 +02:00
1 parent 94f708b53b
commit a31d944684
1 file changed
+6
+6
View File
@@ -1,3 +1,9 @@
local Device = require("device")
if not Device:isTouchDevice() then
return { disabled = true }
end
local BD = require("ui/bidi")
local ConfirmBox = require("ui/widget/confirmbox")
local DataStorage = require("datastorage")