Implement suggestion from CI

This commit is contained in:
Alice Cecile 2024-05-02 09:19:30 -04:00
parent 961b24deaf
commit 6069f95019

View file

@ -639,7 +639,7 @@ fn update_ui_state(
{ {
if let Some(ref value_label) = value_label { if let Some(ref value_label) = value_label {
for section in &mut text.sections { for section in &mut text.sections {
section.value = value_label.clone(); section.value.clone_from(value_label);
} }
} }
} }