@@ -48,7 +48,7 @@ impl App {
4848 } else {
4949 AppState :: WaitingForConfig
5050 } ;
51-
51+
5252 Self {
5353 state : initial_state,
5454 previous_state : AppState :: Main ,
@@ -361,7 +361,7 @@ impl App {
361361 AppState :: WaitingForConfig => {
362362 let provider_status = self . settings ( ) . get_provider_status_summary ( ) ;
363363 let available_providers = self . settings ( ) . get_available_providers ( ) ;
364-
364+
365365 let status_display = if provider_status. is_empty ( ) {
366366 " No providers configured yet" . to_string ( )
367367 } else {
@@ -378,7 +378,7 @@ impl App {
378378 . collect :: < Vec < _ > > ( )
379379 . join ( "\n " )
380380 } ;
381-
381+
382382 format ! ( r#"
383383
384384 ╔═══════════════════════════════════════════════════════════════╗
@@ -530,7 +530,7 @@ impl App {
530530 self . settings . reset_to_defaults ( ) ;
531531 self . settings . get ( ) . apply_theme ( & mut self . theme ) ;
532532 }
533-
533+
534534 /// Check provider readiness and update app state accordingly
535535 pub fn check_provider_readiness ( & mut self ) {
536536 if !self . settings . get ( ) . has_valid_provider ( ) {
@@ -543,12 +543,14 @@ impl App {
543543 }
544544 }
545545 }
546-
546+
547547 /// Handle validation event results and update provider status
548548 pub fn update_provider_status ( & mut self , validation_event : crate :: settings:: ValidationEvent ) {
549549 // Update the provider status through settings
550- self . settings . get_mut ( ) . handle_validation_event ( validation_event) ;
551-
550+ self . settings
551+ . get_mut ( )
552+ . handle_validation_event ( validation_event) ;
553+
552554 // Check if we need to change app state
553555 self . check_provider_readiness ( ) ;
554556 }
0 commit comments