mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 16:26:39 +01:00
Media (macOS): optimise
This commit is contained in:
@@ -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