File tree Expand file tree Collapse file tree 2 files changed +21
-19
lines changed Expand file tree Collapse file tree 2 files changed +21
-19
lines changed Original file line number Diff line number Diff line change @@ -502,7 +502,7 @@ impl ConventionalCommitPopup {
502502 } else {
503503 * available_chars. first ( ) . expect ( "Should already have at least one letter available" )
504504 }
505- } )
505+ } )
506506 . collect_vec ( )
507507 }
508508
@@ -752,22 +752,22 @@ impl Component for ConventionalCommitPopup {
752752 {
753753 self . validate_escape ( commit_type) ;
754754 } else if let Some ( & commit) = self
755- . query_results_type
756- . get ( self . selected_index )
757- {
758- self . seleted_commit_type = Some ( commit) ;
759-
760- #[ cfg( feature = "gitmoji" ) ]
761- {
762- self . next_step ( ) ;
763-
764- if commit. more_info ( ) . len ( ) == 1 {
765- self . validate_escape ( commit) ;
766- }
767- }
768- #[ cfg( not( feature = "gitmoji" ) ) ]
769- self . validate_escape ( commit) ;
770- }
755+ . query_results_type
756+ . get ( self . selected_index )
757+ {
758+ self . seleted_commit_type = Some ( commit) ;
759+
760+ #[ cfg( feature = "gitmoji" ) ]
761+ {
762+ self . next_step ( ) ;
763+
764+ if commit. more_info ( ) . len ( ) == 1 {
765+ self . validate_escape ( commit) ;
766+ }
767+ }
768+ #[ cfg( not( feature = "gitmoji" ) ) ]
769+ self . validate_escape ( commit) ;
770+ }
771771 } else if key_match (
772772 key,
773773 self . key_config . keys . breaking ,
Original file line number Diff line number Diff line change @@ -686,7 +686,8 @@ impl Status {
686686 strings:: commands:: select_staging ( & self . key_config ) ,
687687 !focus_on_diff,
688688 ( self . visible
689- && !focus_on_diff && self . focus == Focus :: WorkDir )
689+ && !focus_on_diff
690+ && self . focus == Focus :: WorkDir )
690691 || force_all,
691692 )
692693 . order ( strings:: order:: NAV ) ,
@@ -696,7 +697,8 @@ impl Status {
696697 strings:: commands:: select_unstaged ( & self . key_config ) ,
697698 !focus_on_diff,
698699 ( self . visible
699- && !focus_on_diff && self . focus == Focus :: Stage )
700+ && !focus_on_diff
701+ && self . focus == Focus :: Stage )
700702 || force_all,
701703 )
702704 . order ( strings:: order:: NAV ) ,
You can’t perform that action at this time.
0 commit comments