fix: fixed some typo (#1373)

This commit is contained in:
Zhizhen He
2023-03-26 06:01:46 +08:00
committed by GitHub
parent d70b424211
commit 001f787e41
6 changed files with 14 additions and 14 deletions

View File

@@ -531,7 +531,7 @@ public class MenuBarView: NSView {
if let view = self.subviews.first(where: { $0.identifier == NSUserInterfaceItemIdentifier(type.rawValue) }) {
view.removeFromSuperview()
} else {
error("\(type) cound not be removed from the one view bacause not found!")
error("\(type) could not be removed from the one view because not found!")
}
}