This commit is contained in:
MX 2024-01-19 23:21:37 +03:00
parent a1e62c3e76
commit 8d60c0ff21
No known key found for this signature in database
GPG key ID: 7CCC66B7DBDD1C83

View file

@ -123,7 +123,7 @@ const uint32_t measurement_units_value[] = {
LocaleMeasurementUnitsImperial,
};
static void mesurement_units_changed(VariableItem* item) {
static void measurement_units_changed(VariableItem* item) {
uint8_t index = variable_item_get_current_value_index(item);
variable_item_set_current_value_text(item, measurement_units_text[index]);
locale_set_measurement_unit(measurement_units_value[index]);