mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
remove extra clone
This commit is contained in:
parent
6b5e712cdf
commit
5d647518c0
@ -30,13 +30,13 @@ impl List {
|
||||
// Create new label for item
|
||||
let item = Label::new(Some(label));
|
||||
|
||||
// Append formatted record
|
||||
self.model.append(&item);
|
||||
|
||||
// Register ID in hash map index
|
||||
self.index
|
||||
.borrow_mut()
|
||||
.insert(item.clone(), profile_identity_gemini_id);
|
||||
|
||||
// Append formatted record
|
||||
self.model.append(&item);
|
||||
.insert(item, profile_identity_gemini_id);
|
||||
}
|
||||
|
||||
// Events
|
||||
|
Loading…
x
Reference in New Issue
Block a user