Skip to content

Commit eb874c4

Browse files
committed
fix: remove duplicate modifiers in icon style
1 parent 62c8e66 commit eb874c4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

CodeEdit/Features/UtilityArea/Views/UtilityAreaView.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,6 @@ struct UtilityAreaView: View {
4747
model.isMaximized.toggle()
4848
} label: {
4949
Image(systemName: "arrowtriangle.up.square")
50-
.foregroundColor(
51-
model.isMaximized
52-
? Color(.controlAccentColor)
53-
: model.selectedTerminals.isEmpty ? Color(.secondaryLabelColor) : .gray
54-
)
55-
.frame(width: 24, height: 24, alignment: .center)
56-
.contentShape(Rectangle())
57-
.symbolVariant(model.isMaximized ? .fill : .none)
5850
}
5951
.buttonStyle(.icon(isActive: model.isMaximized, size: 24))
6052
}

0 commit comments

Comments
 (0)