Skip to content

Commit

Permalink
Remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
NeverAgain11 committed Jan 23, 2024
1 parent 05513e6 commit 5b2f45c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Easydict/Feature/Configuration/Configuration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -414,12 +414,8 @@ let kHideMenuBarIconKey = "EZConfiguration_kHideMenuBarIconKey"
.removeDuplicates()
.sink { [weak self] change in
let newValue = change.newValue
let oldValue = change.oldValue
print("update appearanceType: \(oldValue.title) -> \(newValue.title)")

if newValue != oldValue {
self?.didSetAppearance(newValue)
}
self?.didSetAppearance(newValue)
}
)
}
Expand Down

0 comments on commit 5b2f45c

Please sign in to comment.