Skip to content

Commit

Permalink
Merge pull request #23 from samzong/fix/icon-too-big
Browse files Browse the repository at this point in the history
fix: the icon too big, can not display
  • Loading branch information
samzong authored Jan 10, 2025
2 parents b3dcdcf + 6e53ec6 commit a1658d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {

private func updateStatusBarIcon() {
if let button = statusItem?.button {
let configuration = NSImage.SymbolConfiguration(pointSize: 18, weight: .regular)
let configuration = NSImage.SymbolConfiguration(pointSize: 16, weight: .regular)
let symbolName = playerManager.isPlaying ? "headphones.circle.fill" : "headphones.circle"
let icon = NSImage(systemSymbolName: symbolName, accessibilityDescription: "Music")?.withSymbolConfiguration(configuration)
button.image = icon
Expand Down

0 comments on commit a1658d2

Please sign in to comment.