mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-12 14:31:00 +01:00
Media (macOS): optimise
This commit is contained in:
1 parent
30135570c7
commit
df0fb93542
1 file changed
+1
-1
@@ -27,7 +27,7 @@ static const char* getMedia(FFMediaResult* result)
|
||||
|
||||
dispatch_group_enter(group);
|
||||
MRMediaRemoteGetNowPlayingApplicationIsPlaying(queue, ^(BOOL playing) {
|
||||
ffStrbufAppendS(&result->status, playing ? "Playing" : "Paused");
|
||||
ffStrbufSetStatic(&result->status, playing ? "Playing" : "Paused");
|
||||
dispatch_group_leave(group);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user