Skip to content

Commit

Permalink
This one too :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Mar 28, 2024
1 parent 9f20389 commit 0c3c627
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions applications/system/findmy/scenes/findmy_scene_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@ void findmy_scene_config_show_mac(VariableItem* item) {
FindMy* app = variable_item_get_context(item);
uint8_t index = variable_item_get_current_value_index(item);
findmy_toggle_show_mac(app, index);
if(app->state.show_mac == true) {
variable_item_set_current_value_text(item, "Yes");
} else {
variable_item_set_current_value_text(item, "No");
}
variable_item_set_current_value_text(item, app->state.show_mac ? "Yes" : "No");
variable_item_set_current_value_index(item, app->state.show_mac);
}

Expand Down

0 comments on commit 0c3c627

Please sign in to comment.