@@ -9,7 +9,7 @@ public sealed partial class FoldersViewModel : ObservableObject
99
1010
1111 public Dictionary < SizeUnitTypes , string > SizeUnitsOptions { get ; private set ; } = [ ] ;
12- public Dictionary < KeyboardTypingAction , string > KeyboardTypingActions { get ; private set ; } = [ ] ;
12+ public Dictionary < KeyboardTypingBehavior , string > KeyboardTypingBehaviors { get ; private set ; } = [ ] ;
1313
1414 public FoldersViewModel ( )
1515 {
@@ -20,10 +20,10 @@ public FoldersViewModel()
2020 SizeUnitsOptions . Add ( SizeUnitTypes . DecimalUnits , Strings . Decimal . GetLocalizedResource ( ) ) ;
2121 SizeUnitFormat = SizeUnitsOptions [ UserSettingsService . FoldersSettingsService . SizeUnitFormat ] ;
2222
23- // Size unit format
24- KeyboardTypingActions . Add ( Data . Enums . KeyboardTypingAction . JumpToFile , Strings . JumpToFile . GetLocalizedResource ( ) ) ;
25- KeyboardTypingActions . Add ( Data . Enums . KeyboardTypingAction . FilterItems , Strings . FilterItems . GetLocalizedResource ( ) ) ;
26- KeyboardTypingAction = KeyboardTypingActions [ UserSettingsService . FoldersSettingsService . KeyboardTypingAction ] ;
23+ // Keyboard typing behavior
24+ KeyboardTypingBehaviors . Add ( Data . Enums . KeyboardTypingBehavior . JumpToFile , Strings . JumpToFile . GetLocalizedResource ( ) ) ;
25+ KeyboardTypingBehaviors . Add ( Data . Enums . KeyboardTypingBehavior . FilterItems , Strings . FilterItems . GetLocalizedResource ( ) ) ;
26+ KeyboardTypingBehavior = KeyboardTypingBehaviors [ UserSettingsService . FoldersSettingsService . KeyboardTypingBehavior ] ;
2727 }
2828
2929 // Properties
@@ -281,15 +281,15 @@ public string SizeUnitFormat
281281 }
282282 }
283283
284- private string keyboardTypingAction ;
285- public string KeyboardTypingAction
284+ private string keyboardTypingBehavior ;
285+ public string KeyboardTypingBehavior
286286 {
287- get => keyboardTypingAction ;
287+ get => keyboardTypingBehavior ;
288288 set
289289 {
290- if ( SetProperty ( ref keyboardTypingAction , value ) )
290+ if ( SetProperty ( ref keyboardTypingBehavior , value ) )
291291 {
292- UserSettingsService . FoldersSettingsService . KeyboardTypingAction = KeyboardTypingActions . First ( e => e . Value == value ) . Key ;
292+ UserSettingsService . FoldersSettingsService . KeyboardTypingBehavior = KeyboardTypingBehaviors . First ( e => e . Value == value ) . Key ;
293293 }
294294 }
295295 }
0 commit comments