File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4034,20 +4034,19 @@ impl App {
40344034 _ => unreachable ! ( ) ,
40354035 } ;
40364036
4037- let main_popup_selector_max_chars = {
4038- let owned_entries_iter = <MainPopup as VariantNames >:: VARIANTS . iter ( ) . copied ( ) ;
4039- let popup_menu_title_selector = SingleLineSelector :: new ( owned_entries_iter)
4040- . with_next_symbol ( ">" )
4041- . with_prev_symbol ( "<" )
4042- . with_space_padding ( true ) ;
4043-
4044- popup_menu_title_selector. max_chars ( )
4045- } ;
4046-
40474037 match popup {
40484038 #[ cfg( feature = "macros" ) ]
40494039 Popup :: Macros => {
40504040 use crate :: traits:: StrAsOption ;
4041+ let main_popup_selector_max_chars = {
4042+ let owned_entries_iter = <MainPopup as VariantNames >:: VARIANTS . iter ( ) . copied ( ) ;
4043+ let popup_menu_title_selector = SingleLineSelector :: new ( owned_entries_iter)
4044+ . with_next_symbol ( ">" )
4045+ . with_prev_symbol ( "<" )
4046+ . with_space_padding ( true ) ;
4047+
4048+ popup_menu_title_selector. max_chars ( )
4049+ } ;
40514050
40524051 let categories_area = {
40534052 let mut area = center_inner_area;
You can’t perform that action at this time.
0 commit comments