Skip to content

Commit

Permalink
perf: remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Jan 11, 2024
1 parent 34d6932 commit 775f9f8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Easydict/Feature/StatusItem/EZMenuItemManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
#import "EZConfiguration.h"
#import "Easydict-Swift.h"

static CGFloat const kImageMenuItemHeightRatio = 1.4;
static CGFloat const kTitleMenuItemHeightRatio = 1.2;

@interface EZMenuItemManager () <NSMenuDelegate>

@property (weak) IBOutlet NSMenu *menu;
Expand Down Expand Up @@ -96,9 +93,7 @@ - (void)setup {

self.appVersion = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
self.versionItem.title = self.versionTitle;

NSArray *items = @[self.versionItem, self.settingsItem, self.checkForUpdateItem, self.helpItem, self.quitItem];


[self updateVersionItem];
}

Expand Down

0 comments on commit 775f9f8

Please sign in to comment.