Skip to content

Commit 62c8e66

Browse files
committed
fix: remove unused code
1 parent 20479c8 commit 62c8e66

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

CodeEdit/Features/UtilityArea/Views/UtilityAreaView.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ struct UtilityAreaView: View {
2121

2222
@StateObject private var themeModel: ThemeModel = .shared
2323

24-
@EnvironmentObject private var model: UtilityAreaViewModel
25-
2624
@State var selection: UtilityAreaTab? = .terminal
2725

2826
var body: some View {
@@ -56,7 +54,6 @@ struct UtilityAreaView: View {
5654
)
5755
.frame(width: 24, height: 24, alignment: .center)
5856
.contentShape(Rectangle())
59-
.opacity(controlActiveState == .inactive ? 0.5 : 1)
6057
.symbolVariant(model.isMaximized ? .fill : .none)
6158
}
6259
.buttonStyle(.icon(isActive: model.isMaximized, size: 24))

0 commit comments

Comments
 (0)