mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
feat: use system lock icon if available (#3221)
This commit is contained in:
parent
6c9c446734
commit
5a140d205d
1 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
|||
#import "PeerProgressIndicatorCell.h"
|
||||
#import "Torrent.h"
|
||||
#import "WebSeedTableView.h"
|
||||
#import "NSImageAdditions.h"
|
||||
|
||||
#define ANIMATION_ID_KEY @"animationId"
|
||||
#define WEB_SEED_ANIMATION_ID @"webSeed"
|
||||
|
@ -317,7 +318,7 @@
|
|||
|
||||
if ([ident isEqualToString:@"Encryption"])
|
||||
{
|
||||
return [peer[@"Encryption"] boolValue] ? [NSImage imageNamed:@"Lock"] : nil;
|
||||
return [peer[@"Encryption"] boolValue] ? [NSImage systemSymbol:@"lock.fill" withFallback:@"Lock"] : nil;
|
||||
}
|
||||
else if ([ident isEqualToString:@"Client"])
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue