From 99d3e26c0a11f83aab337812953a0bbc7d4d4aab Mon Sep 17 00:00:00 2001 From: vladislavy Date: Sat, 24 Feb 2018 10:49:57 +0300 Subject: [PATCH] Fix color GUI "Voice config" page It fix the devo8 and devo12 "Voice config" page "External voice currently not available" has not [Exit] button as all other pages. --- src/pages/320x240x16/voiceconfig_page.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/320x240x16/voiceconfig_page.c b/src/pages/320x240x16/voiceconfig_page.c index c6665ede7e..37c7840595 100644 --- a/src/pages/320x240x16/voiceconfig_page.c +++ b/src/pages/320x240x16/voiceconfig_page.c @@ -46,14 +46,14 @@ void PAGE_VoiceconfigInit(int page) (void)page; int init_y = 40; PAGE_SetModal(0); + PAGE_ShowHeader(PAGE_GetName(PAGEID_VOICECFG)); if ( !AUDIO_VoiceAvailable() ) { GUI_CreateLabelBox(&gui->msg, 20, 80, 280, 100, &NARROW_FONT, NULL, NULL, _tr("External voice\ncurrently not\navailable")); return; } - PAGE_ShowHeader(PAGE_GetName(PAGEID_VOICECFG)); - + GUI_CreateScrollable(&gui->scrollable, 0, init_y, LCD_WIDTH, LCD_HEIGHT-init_y, VOICEROWSPACER, MODEL_CUSTOM_ALARMS, row_cb, NULL, NULL, NULL); PAGE_SetScrollable(&gui->scrollable, ¤t_selected);