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"}),