Skip to content

Commit

Permalink
fix: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
phlpsong committed Feb 4, 2024
1 parent 079c259 commit 449d1e6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Easydict/NewApp/View/MenuItemView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ final class MenuItemStore: ObservableObject {
@available(macOS 13, *)
struct MenuItemView: View {
@ObservedObject private var store = MenuItemStore()
@Environment(\.openSettings) private var openSettings

var body: some View {
// ️.menuBarExtraStyle为 .menu 时某些控件可能会失效 ,只能显示内容(按照菜单项高度、图像以 template 方式渲染)无法交互 ,比如 Stepper、Slider 等,像基本的 Button、Text、Divider、Image 等还是能正常显示的。
Expand Down

0 comments on commit 449d1e6

Please sign in to comment.