Skip to content

Commit

Permalink
#4 mark images in tray context menu
Browse files Browse the repository at this point in the history
  • Loading branch information
skoro committed Dec 16, 2024
1 parent f7b0ea4 commit afc7890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function updateTrayContextMenu(tray, contextMenu, clipItems) {
}));

for (const clipItem of clipItems) {
const label = stringCut(clipItem.data, 50);
const label = clipItem.image ? '[IMAGE]' : stringCut(clipItem.data, 50);
contextMenu.insert(0, new MenuItem({
id: `${ITEM_PREFIX}item-${clipItem.id}`,
label,
Expand Down

0 comments on commit afc7890

Please sign in to comment.