@@ -2061,11 +2061,6 @@ impl App {
20612061 Some ( Popup :: CurrentKeybinds ) => {
20622062 self . popup_menu_scroll = self . popup_menu_scroll . saturating_sub ( 1 ) ;
20632063 }
2064- #[ cfg( not( any( feature = "espflash" , feature = "macros" ) ) ) ]
2065- Some ( Popup :: SettingsMenu ( _) ) => match self . popup_menu_scroll {
2066- 0 => self . select_last_popup_item ( ) ,
2067- _ => self . popup_menu_scroll -= 1 ,
2068- } ,
20692064 Some ( Popup :: SettingsMenu ( _) ) => match self . popup_menu_scroll {
20702065 0 => self . select_last_popup_item ( ) ,
20712066 _ => self . popup_menu_scroll -= 1 ,
@@ -2219,6 +2214,7 @@ impl App {
22192214 Some ( Popup :: Macros ) if self . popup_menu_scroll == 0 => {
22202215 self . cycle_menu_type ( false ) ;
22212216 }
2217+ #[ cfg( any( feature = "espflash" , feature = "macros" ) ) ]
22222218 Some ( Popup :: SettingsMenu ( _) ) if self . popup_menu_scroll == 0 => {
22232219 self . cycle_menu_type ( false ) ;
22242220 }
@@ -2344,6 +2340,7 @@ impl App {
23442340 Some ( Popup :: Macros ) if self . popup_menu_scroll == 0 => {
23452341 self . cycle_menu_type ( true ) ;
23462342 }
2343+ #[ cfg( any( feature = "espflash" , feature = "macros" ) ) ]
23472344 Some ( Popup :: SettingsMenu ( _) ) if self . popup_menu_scroll == 0 => {
23482345 self . cycle_menu_type ( true ) ;
23492346 }
@@ -3466,7 +3463,10 @@ impl App {
34663463 // let title_lines = ;
34673464 let mut menu_selector_state = SingleLineSelectorState :: new ( ) ;
34683465 menu_selector_state. active = self . popup_menu_scroll == 0 ;
3466+ #[ cfg( any( feature = "espflash" , feature = "macros" ) ) ]
34693467 let owned_entries_iter = <MainPopup as VariantNames >:: VARIANTS . iter ( ) . copied ( ) ;
3468+ #[ cfg( not( any( feature = "espflash" , feature = "macros" ) ) ) ]
3469+ let owned_entries_iter = [ "Settings" ] ;
34703470 let popup_menu_title_selector = SingleLineSelector :: new ( owned_entries_iter)
34713471 . with_next_symbol ( ">" )
34723472 . with_prev_symbol ( "<" )
0 commit comments