Skip to content

Commit

Permalink
Merge branch 'dev' into about-view-confetti
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng authored May 6, 2024
2 parents f7721a3 + 8c4ac14 commit 9b4ff33
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Easydict/objc/Service/Model/EZQueryService.m
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,6 @@ - (BOOL)enabledAutoQuery {
return YES;
}

- (BOOL)enabled {
if (self.queryTextType == EZQueryTextTypeNone) {
return NO;
}

return _enabled;
}

// TODO: need to optimize, each service should have its own model, can stop requests individually.
- (void)setResult:(EZQueryResult *)translateResult {
_result = translateResult;
Expand Down

0 comments on commit 9b4ff33

Please sign in to comment.