Skip to content

Commit

Permalink
fix: remove @import AppleTranslation
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Oct 20, 2024
1 parent e1c8a8c commit dcdc396
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ struct AdvancedTab: View {
@Default(.disableTipsView) private var disableTipsView
@Default(.enableYoudaoOCR) private var enableYoudaoOCR
@Default(.replaceWithTranslationInCompatibilityMode) private
var replaceWithTranslationInCompatibilityMode
var replaceWithTranslationInCompatibilityMode
@Default(.enableAppleOfflineTranslation) private var enableLocalAppleTranslation

// Force get selected text
Expand Down
3 changes: 0 additions & 3 deletions Easydict/objc/Service/Apple/EZAppleService.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
#import "EZAppleDictionary.h"
#import "Easydict-Swift.h"

@import AppleTranslation;


static NSString *const kLineBreakText = @"\n";
static NSString *const kParagraphBreakText = @"\n\n";
static NSString *const kIndentationText = @"";
Expand Down

0 comments on commit dcdc396

Please sign in to comment.