add vibro on finish and main menu set left

This commit is contained in:
derskythe 2022-09-26 21:26:51 +04:00
parent a40e1a2be2
commit 545c4349d6
2 changed files with 6 additions and 4 deletions

View File

@ -127,6 +127,8 @@ bool subbrute_scene_run_attack_on_event(void* context, SceneManagerEvent event)
event.event == SubBruteCustomEventTypeBackPressed) {
// furi_timer_stop(state->timer);
// Stop transmit
notification_message(instance->notifications, &sequence_display_backlight_on);
notification_message(instance->notifications, &sequence_single_vibro);
subbrute_attack_view_set_current_step(view, instance->device->key_index);
scene_manager_search_and_switch_to_previous_scene(
instance->scene_manager, SubBruteSceneSetupAttack);

View File

@ -127,9 +127,9 @@ void subbrute_main_view_draw(Canvas* canvas, SubBruteMainViewModel* model) {
if(m->index == position) {
canvas_draw_str_aligned(
canvas,
64,
4,
9 + (item_position * item_height) + STATUS_BAR_Y_SHIFT,
AlignCenter,
AlignLeft,
AlignCenter,
str);
elements_frame(
@ -137,9 +137,9 @@ void subbrute_main_view_draw(Canvas* canvas, SubBruteMainViewModel* model) {
} else {
canvas_draw_str_aligned(
canvas,
64,
4,
9 + (item_position * item_height) + STATUS_BAR_Y_SHIFT,
AlignCenter,
AlignLeft,
AlignCenter,
str);
}