mirror of
https://github.com/danbee/persephone
synced 2025-03-04 08:39:11 +00:00
Add dynamic dock menu with "Now Playing" section
Inspired pretty heavily by iTunes.
This commit is contained in:
parent
bab3a186cb
commit
ac66a2f49d
@ -61,7 +61,7 @@ class AppDelegate: NSObject,
|
||||
dockMenu.addItem(songItem)
|
||||
dockMenu.addItem(albumItem)
|
||||
dockMenu.addItem(NSMenuItem.separator())
|
||||
}
|
||||
}
|
||||
|
||||
let playPauseMenuItem = NSMenuItem(
|
||||
title: state == .playing ? "Pause" : "Play",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user