Skip to content

Commit

Permalink
Merge pull request #187 from DrEverr/DrEverr/KeyboardDisplayFix
Browse files Browse the repository at this point in the history
Dr everr/keyboard display fix
  • Loading branch information
RogueMaster authored Aug 6, 2022
2 parents 46b71c2 + c934843 commit db79a3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion applications/gui/modules/text_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ static void text_input_view_draw_callback(Canvas* canvas, void* _model) {
canvas_set_color(canvas, ColorBlack);
}

if(text_length == 0 && char_is_lowercase(keys[column].text)) {
if(model->clear_default_text ||
(text_length == 0 && char_is_lowercase(keys[column].text))) {
canvas_draw_glyph(
canvas,
keyboard_origin_x + keys[column].x,
Expand Down

0 comments on commit db79a3e

Please sign in to comment.