=> d455fe875e202ab3ee8cb38fb75a064284535b63
[1mdiff --git a/src/macos.m b/src/macos.m[m [1mindex 32fbef5b..16552c17 100644[m [1m--- a/src/macos.m[m [1m+++ b/src/macos.m[m [36m@@ -859,12 +859,15 @@[m [mstatic NSMenuItem *makeMenuItems_(NSMenu *menu, MenuCommands *commands, int atIn[m makeMenuItems_(sub, commands, 0, isBookmarksMenu, constData_Array(items),[m size_Array(items));[m [item setSubmenu:sub];[m [32m+[m[32m#if defined (__MAC_11_0)[m if (isBookmarksMenu) {[m [31m-#if defined (__MAC_11_0) /* TODO: Is there an equivalent symbol for older macOS? */[m [31m- [item setImage:[NSImage imageWithSystemSymbolName:@"folder"[m [31m- accessibilityDescription:nil]];[m [31m-#endif[m [32m+[m[32m if (@available(macOS 11.0, *)) {[m [32m+[m[32m /* TODO: Is there an equivalent symbol for older macOS? */[m [32m+[m[32m [item setImage:[NSImage imageWithSystemSymbolName:@"folder"[m [32m+[m[32m accessibilityDescription:nil]];[m [32m+[m[32m }[m }[m [32m+[m[32m#endif[m }[m else {[m [sub release];[m [36m@@ -875,12 +878,15 @@[m [mstatic NSMenuItem *makeMenuItems_(NSMenu *menu, MenuCommands *commands, int atIn[m }[m else {[m item.action = (hasCommand ? @selector(postMenuItemCommand:) : nil);[m [31m- if (isBookmarksMenu && hasCommand && startsWith_CStr(items[i].command, "!open ")) {[m [31m-#if defined (__MAC_11_0) /* TODO: Is there an equivalent symbol for older macOS? */[m [31m- [item setImage:[NSImage imageWithSystemSymbolName:@"bookmark.fill"[m [31m- accessibilityDescription:nil]];[m [31m-#endif[m [32m+[m[32m#if defined (__MAC_11_0)[m [32m+[m[32m if (@available(macOS 11.0, *)) {[m [32m+[m[32m if (isBookmarksMenu && hasCommand && startsWith_CStr(items[i].command, "!open ")) {[m [32m+[m[32m /* TODO: Is there an equivalent symbol for older macOS? */[m [32m+[m[32m [item setImage:[NSImage imageWithSystemSymbolName:@"bookmark.fill"[m [32m+[m[32m accessibilityDescription:nil]];[m [32m+[m[32m }[m }[m [32m+[m[32m#endif[m }[m [menu insertItem:item atIndex:atIndex++];[m deinit_String(&itemTitle);[m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).