File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Sources/CodeEditSourceEditor/Find/PanelView Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -125,22 +125,22 @@ struct FindPanelView: View {
125125 ControlGroup {
126126 Button ( action: {
127127 // TODO: Replace action
128- } ) {
128+ } , label : {
129129 Text ( " Replace " )
130130 . opacity ( viewModel. findText. isEmpty || viewModel. matchCount == 0 ? 0.33 : 1 )
131131 . frame ( width: viewModel. findControlsWidth/ 2 - 12 - 0.5 )
132- }
132+ } )
133133 // TODO: disable if there is not an active match
134134 . disabled ( viewModel. findText. isEmpty || viewModel. matchCount == 0 )
135135 Divider ( )
136136 . overlay ( Color ( nsColor: . tertiaryLabelColor) )
137137 Button ( action: {
138138 // TODO: Replace all action
139- } ) {
139+ } , label : {
140140 Text ( " All " )
141141 . opacity ( viewModel. findText. isEmpty || viewModel. matchCount == 0 ? 0.33 : 1 )
142142 . frame ( width: viewModel. findControlsWidth/ 2 - 12 - 0.5 )
143- }
143+ } )
144144 . disabled ( viewModel. findText. isEmpty || viewModel. matchCount == 0 )
145145 }
146146 . controlGroupStyle ( PanelControlGroupStyle ( ) )
You can’t perform that action at this time.
0 commit comments