mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-10 05:59:08 -07:00
Fix some graphical bugs --nobuild
This commit is contained in:
2
applications/external/ble_spam/ble_spam.c
vendored
2
applications/external/ble_spam/ble_spam.c
vendored
@@ -388,7 +388,7 @@ static void draw_callback(Canvas* canvas, void* _ctx) {
|
||||
elements_button_right(canvas, next);
|
||||
}
|
||||
|
||||
if(state->ctx.lock_keyboard) {
|
||||
if(state->lock_warning) {
|
||||
canvas_set_font(canvas, FontSecondary);
|
||||
elements_bold_rounded_frame(canvas, 14, 8, 99, 48);
|
||||
elements_multiline_text(canvas, 65, 26, "To unlock\npress:");
|
||||
|
||||
@@ -48,7 +48,7 @@ void scene_config_on_enter(void* _ctx) {
|
||||
|
||||
variable_item_list_set_enter_callback(list, config_callback, ctx);
|
||||
if(!ctx->attack->protocol) {
|
||||
variable_item_list_add(list, "None shall escape the S I N K", 0, NULL, NULL);
|
||||
variable_item_list_add(list, "None shall escape the SINK", 0, NULL, NULL);
|
||||
} else if(ctx->attack->protocol->extra_config) {
|
||||
ctx->fallback_config_enter = config_callback;
|
||||
ctx->attack->protocol->extra_config(ctx);
|
||||
|
||||
Reference in New Issue
Block a user