mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-29 00:09:19 +03:00
add vibro on finish and main menu set left
This commit is contained in:
parent
a40e1a2be2
commit
545c4349d6
@ -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);
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user