diff --git a/Easydict/objc/Service/Model/EZQueryService.m b/Easydict/objc/Service/Model/EZQueryService.m index e3d948f8f..8201e1f05 100644 --- a/Easydict/objc/Service/Model/EZQueryService.m +++ b/Easydict/objc/Service/Model/EZQueryService.m @@ -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;