Skip to content

Commit

Permalink
macosx: Give library header segment an icon
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra authored and fkuehne committed Sep 13, 2024
1 parent 24064c1 commit c38e732
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/gui/macosx/library/VLCLibrarySegment.m
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ - (NSImage *)newIconImageForType:(VLCLibrarySegmentType)segmentType
case VLCLibraryVLCTitleSegment:
return NSApp.applicationIconImage;
case VLCLibraryHeaderSegment:
return nil;
return [NSImage imageWithSystemSymbolName:@"books.vertical.fill"
accessibilityDescription:@"Library icon"];
case VLCLibraryHomeSegment:
return [NSImage imageWithSystemSymbolName:@"house"
accessibilityDescription:@"Home icon"];
Expand Down

0 comments on commit c38e732

Please sign in to comment.