From fbf83dc4ce939c06808c874d6ac1cc3926fedd50 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Thu, 21 Oct 2021 23:11:32 +0200 Subject: Add setting for disabling wrap-around lists Allows user to decide whether scrolling lists will wrap around to the opposite end after the first or last item has been reached. Change-Id: I22156812cf4c857ddc4b6c48c1cef013b1985260 --- apps/settings_list.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/settings_list.c') diff --git a/apps/settings_list.c b/apps/settings_list.c index 4758c27113..afab6dce5b 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c @@ -1220,6 +1220,8 @@ const struct settings_list settings[] = { gui_list_screen_scroll_step), OFFON_SETTING(0,scroll_paginated,LANG_SCROLL_PAGINATED, false,"scroll paginated",NULL), + OFFON_SETTING(0,list_wraparound,LANG_LIST_WRAPAROUND, + true,"list wraparound",NULL), #ifdef HAVE_LCD_COLOR {F_T_INT|F_RGB|F_THEMESETTING ,&global_settings.fg_color,-1, -- cgit v1.2.3