Skip to content

Commit

Permalink
Merge pull request #372 from vladislavy/voice_cfg
Browse files Browse the repository at this point in the history
Fix color GUI "Voice config" page
  • Loading branch information
F-D-R committed Feb 25, 2018
2 parents c8636fe + 99d3e26 commit 56c94b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/320x240x16/voiceconfig_page.c
Expand Up @@ -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, &current_selected);
Expand Down

0 comments on commit 56c94b9

Please sign in to comment.