From baab32633239d0572aed115000dae1c83aec7739 Mon Sep 17 00:00:00 2001 From: SomeGuy <97603719+Commodore64user@users.noreply.github.com> Date: Sat, 11 May 2024 20:25:50 +0100 Subject: [PATCH] [ReaderHighlight] Remove duplicated setting on NT devices (#11750) Closes #11747. --- frontend/apps/reader/modules/readerhighlight.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/apps/reader/modules/readerhighlight.lua b/frontend/apps/reader/modules/readerhighlight.lua index faf9ca7b4166..ef82f99edc59 100644 --- a/frontend/apps/reader/modules/readerhighlight.lua +++ b/frontend/apps/reader/modules/readerhighlight.lua @@ -589,11 +589,12 @@ Except when in two columns mode, where this is limited to showing only the previ end, }) - -- long_press menu is under taps_and_gestures menu which is not available for non touch device - -- Clone long_press menu and change label making much meaning for non touch devices + -- long_press setting is under taps_and_gestures menu which is not available for non-touch devices + -- Clone long_press setting and change its label, making it much more meaningful for non-touch device users. if not Device:isTouchDevice() and Device:hasDPad() then - menu_items.selection_text = util.tableDeepCopy(menu_items.long_press) - menu_items.selection_text.text = _("Select on text") + menu_items.selection_text = menu_items.long_press + menu_items.selection_text.text = _("Selection on text") + menu_items.long_press = nil end -- main menu Search