Skip to content

Commit

Permalink
Keyboard: show Uppercase keys when replacing content (#1548)
Browse files Browse the repository at this point in the history
Co-authored-by: あく <alleteam@gmail.com>
  • Loading branch information
DrEverr and skotopes authored Sep 28, 2022
1 parent 5883e13 commit bcfb12b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion applications/services/gui/modules/text_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,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 bcfb12b

Please sign in to comment.