Skip to content

Commit

Permalink
Fix about screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Zakharov committed Jul 28, 2023
1 parent ff2e1ac commit 1131dfb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion applications/settings/about/about.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ static DialogMessageButton icon2_screen(DialogsApp* dialogs, DialogMessage* mess
message, furi_hal_version_get_mic_id(), 63, 27, AlignLeft, AlignCenter);
result = dialog_message_show(dialogs, message);
dialog_message_set_icon(message, NULL, 0, 0);
dialog_message_set_text(message, NULL, 0, 0, AlignLeft, AlignTop);

return result;
}
Expand Down Expand Up @@ -209,7 +210,7 @@ int32_t about_settings_app(void* p) {
screen_index--;
}
} else if(screen_result == DialogMessageButtonRight) {
if(screen_index < about_screens_count) {
if(screen_index < about_screens_count - 1) {
screen_index++;
}
} else if(screen_result == DialogMessageButtonBack) {
Expand Down

0 comments on commit 1131dfb

Please sign in to comment.