Skip to content

Commit

Permalink
Update Easydict/objc/ViewController/View/ResultView/EZResultView.m
Browse files Browse the repository at this point in the history
Co-authored-by: Phillip Song <[email protected]>
  • Loading branch information
tisfeng and phlpsong authored Apr 1, 2024
1 parent 97da4e8 commit 36ac7c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ - (void)showModelSelectionMenu:(EZButton *)sender {
}

- (void)modelDidSelected:(NSMenuItem *)sender {
EZOpenAIService *service = (EZOpenAIService *)self.result.service;
EZBaseOpenAIService *service = (EZBaseOpenAIService *)self.result.service;
if (![service.model isEqualToString:sender.title]) {
service.model = sender.title;
self.serviceModelButton.title = service.model;
Expand Down

0 comments on commit 36ac7c2

Please sign in to comment.