Skip to content

Commit

Permalink
MacGui: do not pass an empty string to accessibilityDescription
Browse files Browse the repository at this point in the history
  • Loading branch information
galad87 committed Jul 19, 2024
1 parent c7c16ae commit 944b25d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macosx/NSToolbar+HBAdditions.m
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ - (void)HB_setSymbol:(NSString *)symbolName configuration:(nullable id)configura

if (@available(macOS 11, *))
{
image = [NSImage imageWithSystemSymbolName:symbolName accessibilityDescription:@""];
image = [NSImage imageWithSystemSymbolName:symbolName accessibilityDescription:nil];
if (configuration)
{
image = [image imageWithSymbolConfiguration:configuration];
Expand Down

0 comments on commit 944b25d

Please sign in to comment.