diff --git a/app/src/studio/behavior_subsystem.c b/app/src/studio/behavior_subsystem.c index 74da1eade192..eb2ee51e3429 100644 --- a/app/src/studio/behavior_subsystem.c +++ b/app/src/studio/behavior_subsystem.c @@ -138,7 +138,7 @@ zmk_Response get_behavior_details(const zmk_Request *req) { zmk_behaviors_GetBehaviorDetailsResponse resp = (zmk_behaviors_GetBehaviorDetailsResponse){.id = behavior_id}; - strcpy(resp.friendly_name, zbm->friendly_name); + strcpy(resp.friendly_name, zbm->metadata.friendly_name); struct behavior_parameter_metadata desc; behavior_get_parameter_domains(zbm->device, &desc);