Skip to content

Commit

Permalink
fix: load time
Browse files Browse the repository at this point in the history
  • Loading branch information
Kentakoong committed Oct 3, 2023
1 parent ec9d32f commit 41283f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions MusicBar/Views/StatusBar/StatusBar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ class StatusBar {
var timer: Timer?

init() {
self.statusItem.button?.image = self.statusBarImage()
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
self.setMedia()
}
self.setupMenu()
Expand Down

0 comments on commit 41283f3

Please sign in to comment.