refactor: rename command.get_id and add command.get_name

This commit is contained in:
CJ van den Berg 2024-11-21 17:55:03 +01:00
parent 150374afae
commit 6372beb762
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
3 changed files with 10 additions and 5 deletions

View file

@ -120,7 +120,7 @@ pub fn restore_state(palette: *Type) !void {
error.TooShort => return,
else => return e,
}) {
const id = command.getId(name_) orelse continue;
const id = command.get_id(name_) orelse continue;
set_used_time(palette, id, used_time);
}
}