mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 19:31:46 +00:00
feat: run prettier
This commit is contained in:
@ -37,14 +37,18 @@ export default createPlugin({
|
||||
click() {
|
||||
previous();
|
||||
},
|
||||
}, {
|
||||
},
|
||||
{
|
||||
tooltip: 'Play/Pause',
|
||||
// Update icon based on play state
|
||||
icon: nativeImage.createFromPath(songInfo.isPaused ? get('play') : get('pause')),
|
||||
icon: nativeImage.createFromPath(
|
||||
songInfo.isPaused ? get('play') : get('pause'),
|
||||
),
|
||||
click() {
|
||||
playPause();
|
||||
},
|
||||
}, {
|
||||
},
|
||||
{
|
||||
tooltip: 'Next',
|
||||
icon: nativeImage.createFromPath(get('next')),
|
||||
click() {
|
||||
@ -81,5 +85,5 @@ export default createPlugin({
|
||||
window.on('show', () => {
|
||||
setThumbar(currentSongInfo);
|
||||
});
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user