Skip to content

Commit 44bb113

Browse files
authored
Merge pull request #54 from unsecretised/fix-clipboard-history-layout
Fixes clipboard history ordering to be recent to oldest
2 parents 1bb6f0f + d643aa8 commit 44bb113

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ impl Tile {
404404
}
405405

406406
Message::ClipboardHistory(clip_content) => {
407-
self.clipboard_content.push(clip_content);
407+
self.clipboard_content.insert(0, clip_content);
408408
Task::none()
409409
}
410410

0 commit comments

Comments
 (0)