@@ -40,7 +40,7 @@ class SubHeader < Primer::Component
4040 @mobile_actions ||= [ ]
4141 mobile_component = Primer ::Beta ::IconButton . new ( display : MOBILE_ACTIONS_DISPLAY ,
4242 **icon_args )
43- @mobile_actions . push ( { component : mobile_component , block : block } )
43+ @mobile_actions . push ( { component : mobile_component , block : block } )
4444
4545 Primer ::OpenProject ::SubHeader ::Button . new ( display : DESKTOP_ACTIONS_DISPLAY , **kwargs )
4646 end
@@ -65,9 +65,9 @@ class SubHeader < Primer::Component
6565 mobile_component = Primer ::OpenProject ::SubHeader ::Menu . new ( icon_only : true ,
6666 display : MOBILE_ACTIONS_DISPLAY ,
6767 **kwargs )
68- @mobile_actions . push ( { component : mobile_component , block : block } )
68+ @mobile_actions . push ( { component : mobile_component , block : block } )
6969
70- Primer ::OpenProject ::SubHeader ::Menu . new ( icon_only : icon_only , display : DESKTOP_ACTIONS_DISPLAY , **kwargs )
70+ Primer ::OpenProject ::SubHeader ::Menu . new ( icon_only : icon_only , display : DESKTOP_ACTIONS_DISPLAY , **kwargs )
7171 } ,
7272 }
7373 }
@@ -146,7 +146,7 @@ class SubHeader < Primer::Component
146146 if icon_only
147147 Primer ::Beta ::IconButton . new ( **icon_args )
148148 else
149- @mobile_filter_button = Primer ::Beta ::IconButton . new ( display : MOBILE_ACTIONS_DISPLAY ,
149+ @mobile_filter_button = Primer ::Beta ::IconButton . new ( display : MOBILE_ACTIONS_DISPLAY ,
150150 **icon_args )
151151
152152 Primer ::OpenProject ::SubHeader ::Button . new ( display : DESKTOP_ACTIONS_DISPLAY , **kwargs )
@@ -194,18 +194,18 @@ class SubHeader < Primer::Component
194194 }
195195
196196 renders_one :segmented_control , lambda { |**system_arguments , &block |
197- deny_tag_argument ( **system_arguments )
198- system_arguments [ :mr ] ||= 2
199- system_arguments = set_as_hidden_filter_target ( system_arguments )
200-
201- @segmented_control_block = block
202- @mobile_segmented_control = Primer ::OpenProject ::SubHeader ::SegmentedControl . new (
203- hide_labels : true ,
204- display : MOBILE_ACTIONS_DISPLAY ,
205- **system_arguments
206- )
207-
208- Primer ::OpenProject ::SubHeader ::SegmentedControl . new ( display : DESKTOP_ACTIONS_DISPLAY , **system_arguments )
197+ deny_tag_argument ( **system_arguments )
198+ system_arguments [ :mr ] ||= 2
199+ system_arguments = set_as_hidden_filter_target ( system_arguments )
200+
201+ @segmented_control_block = block
202+ @mobile_segmented_control = Primer ::OpenProject ::SubHeader ::SegmentedControl . new (
203+ hide_labels : true ,
204+ display : MOBILE_ACTIONS_DISPLAY ,
205+ **system_arguments
206+ )
207+
208+ Primer ::OpenProject ::SubHeader ::SegmentedControl . new ( display : DESKTOP_ACTIONS_DISPLAY , **system_arguments )
209209 }
210210
211211 renders_one :text , lambda { |**system_arguments |
0 commit comments