From f393e1cb633576fde2553a9dcc7bb18b7a0be196 Mon Sep 17 00:00:00 2001 From: SomeGuy <97603719+Commodore64user@users.noreply.github.com> Date: Thu, 2 May 2024 22:19:47 +0100 Subject: [PATCH] missed then added --- plugins/gestures.koplugin/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gestures.koplugin/main.lua b/plugins/gestures.koplugin/main.lua index e235ed314..56c68cd98 100644 --- a/plugins/gestures.koplugin/main.lua +++ b/plugins/gestures.koplugin/main.lua @@ -760,7 +760,7 @@ function Gestures:addToMainMenu(menu_items) sub_item_table = self:genSubItemTable({"spread_gesture", "pinch_gesture"}), }) end - if Device:hasGSensor() + if Device:hasGSensor() then table.insert(menu_items.gesture_manager.sub_item_table, { text = _("Rotation"), sub_item_table = self:genSubItemTable({"rotate_cw", "rotate_ccw"}),