Skip to content

Commit

Permalink
Better button name for cycling repeat mode
Browse files Browse the repository at this point in the history
  • Loading branch information
sedders123 committed Sep 24, 2022
1 parent f3818eb commit d27b151
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/youtubeMusic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export default class YouTubeMusic {
title: "Not Repeating",
text: "$(sync)",
priority: 0.6,
name: "Cycle Repeat Mode",
},
{
id: "thumbsDown",
Expand All @@ -162,7 +163,7 @@ export default class YouTubeMusic {
StatusBarAlignment.Left,
button.priority
);
statusBarItem.name = `YT Music - ${button.title}`;
statusBarItem.name = `YT Music - ${button.name || button.title}`;
statusBarItem.text = button.text;
statusBarItem.command = command;
statusBarItem.tooltip = button.title;
Expand Down

0 comments on commit d27b151

Please sign in to comment.