Skip to content

Commit

Permalink
fix: font for service name do not need to customzie
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Dec 19, 2023
1 parent 292215f commit 156bd28
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#import "NSImage+EZResize.h"
#import "NSImage+EZSymbolmage.h"
#import "EZWindowManager.h"
#import "EZConfiguration.h"

@interface EZResultView ()

Expand Down Expand Up @@ -240,8 +239,7 @@ - (void)setResult:(EZQueryResult *)result {
EZServiceType serviceType = result.serviceType;
self.serviceIcon.image = [NSImage imageNamed:serviceType];

self.serviceNameLabel.attributedStringValue = [NSAttributedString mm_attributedStringWithString:result.service.name font:[NSFont systemFontOfSize:13 * EZConfiguration.shared.fontSizeRatio]];

self.serviceNameLabel.attributedStringValue = [NSAttributedString mm_attributedStringWithString:result.service.name font:[NSFont systemFontOfSize:13]];
[self.wordResultView refreshWithResult:result];

mm_weakify(self);
Expand Down

0 comments on commit 156bd28

Please sign in to comment.