From 2bfbdefcf14b257a865818e250a00d7103f5a326 Mon Sep 17 00:00:00 2001 From: Franck ALARY Date: Fri, 23 Feb 2024 17:53:18 +0100 Subject: [PATCH] minor fix --- Makefile | 2 +- src/storyTeller/stories_reader.h | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index a5fca59933..0c6a41449d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ ########################################################### TARGET=TelmiOS -VERSION=1.0.1 +VERSION=1.0.2 ########################################################### diff --git a/src/storyTeller/stories_reader.h b/src/storyTeller/stories_reader.h index 1bc2a0146f..06e2140e4d 100644 --- a/src/storyTeller/stories_reader.h +++ b/src/storyTeller/stories_reader.h @@ -374,10 +374,12 @@ void stories_previous(void) void stories_menu(void) { - if(storiesDiplayMode == STORIES_DISPLAY_MODE_SINGLE) { - stories_setMode(STORIES_DISPLAY_MODE_TILES); - } else { - stories_setMode(STORIES_DISPLAY_MODE_SINGLE); + if(storyActionKey[0] == '\0') { + if(storiesDiplayMode == STORIES_DISPLAY_MODE_SINGLE) { + stories_setMode(STORIES_DISPLAY_MODE_TILES); + } else { + stories_setMode(STORIES_DISPLAY_MODE_SINGLE); + } } }