mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 19:28:36 -07:00
fix []
This commit is contained in:
@@ -23,9 +23,9 @@ void ibutton_scene_emulate_on_enter(void* context) {
|
|||||||
|
|
||||||
furi_string_printf(
|
furi_string_printf(
|
||||||
tmp,
|
tmp,
|
||||||
"%s\n[%s]",
|
"[%s]\n%s",
|
||||||
furi_string_empty(ibutton->file_path) ? "Unsaved Key" : ibutton->key_name,
|
ibutton_protocols_get_name(ibutton->protocols, ibutton_key_get_protocol_id(key)),
|
||||||
ibutton_protocols_get_name(ibutton->protocols, ibutton_key_get_protocol_id(key)));
|
furi_string_empty(ibutton->file_path) ? "Unsaved Key" : ibutton->key_name);
|
||||||
|
|
||||||
widget_add_text_box_element(
|
widget_add_text_box_element(
|
||||||
widget, 52, 30, 75, 40, AlignCenter, AlignCenter, furi_string_get_cstr(tmp), true);
|
widget, 52, 30, 75, 40, AlignCenter, AlignCenter, furi_string_get_cstr(tmp), true);
|
||||||
|
|||||||
@@ -25,9 +25,9 @@ void ibutton_scene_write_on_enter(void* context) {
|
|||||||
|
|
||||||
furi_string_printf(
|
furi_string_printf(
|
||||||
tmp,
|
tmp,
|
||||||
"%s\n[%s]",
|
"[%s]\n%s",
|
||||||
ibutton->key_name,
|
ibutton_protocols_get_name(ibutton->protocols, protocol_id),
|
||||||
ibutton_protocols_get_name(ibutton->protocols, protocol_id));
|
ibutton->key_name);
|
||||||
|
|
||||||
widget_add_text_box_element(
|
widget_add_text_box_element(
|
||||||
widget, 52, 30, 75, 40, AlignCenter, AlignCenter, furi_string_get_cstr(tmp), true);
|
widget, 52, 30, 75, 40, AlignCenter, AlignCenter, furi_string_get_cstr(tmp), true);
|
||||||
|
|||||||
Reference in New Issue
Block a user