mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2025-02-17 05:48:33 +00:00
[FL-3063] SubGhz: fix start navigation (#2183)
This commit is contained in:
parent
7ff9414656
commit
566e80abf6
1 changed files with 2 additions and 1 deletions
|
@ -309,7 +309,8 @@ bool subghz_view_receiver_input(InputEvent* event, void* context) {
|
|||
subghz_receiver->view,
|
||||
SubGhzViewReceiverModel * model,
|
||||
{
|
||||
if(model->idx != model->history_item - 1) model->idx++;
|
||||
if((model->history_item != 0) && (model->idx != model->history_item - 1))
|
||||
model->idx++;
|
||||
},
|
||||
true);
|
||||
} else if(event->key == InputKeyLeft && event->type == InputTypeShort) {
|
||||
|
|
Loading…
Add table
Reference in a new issue