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 {
502
502
} else {
503
503
* available_chars. first ( ) . expect ( "Should already have at least one letter available" )
504
504
}
505
- } )
505
+ } )
506
506
. collect_vec ( )
507
507
}
508
508
@@ -752,22 +752,22 @@ impl Component for ConventionalCommitPopup {
752
752
{
753
753
self . validate_escape ( commit_type) ;
754
754
} 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
+ }
771
771
} else if key_match (
772
772
key,
773
773
self . key_config . keys . breaking ,
Original file line number Diff line number Diff line change @@ -686,7 +686,8 @@ impl Status {
686
686
strings:: commands:: select_staging ( & self . key_config ) ,
687
687
!focus_on_diff,
688
688
( self . visible
689
- && !focus_on_diff && self . focus == Focus :: WorkDir )
689
+ && !focus_on_diff
690
+ && self . focus == Focus :: WorkDir )
690
691
|| force_all,
691
692
)
692
693
. order ( strings:: order:: NAV ) ,
@@ -696,7 +697,8 @@ impl Status {
696
697
strings:: commands:: select_unstaged ( & self . key_config ) ,
697
698
!focus_on_diff,
698
699
( self . visible
699
- && !focus_on_diff && self . focus == Focus :: Stage )
700
+ && !focus_on_diff
701
+ && self . focus == Focus :: Stage )
700
702
|| force_all,
701
703
)
702
704
. order ( strings:: order:: NAV ) ,
You can’t perform that action at this time.
0 commit comments