Skip to content

Commit a13085c

Browse files
committed
Update AddressToolbar.xaml.cs
1 parent 93e0bb1 commit a13085c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/UserControls/AddressToolbar.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ private void ClickablePath_GettingFocus(UIElement sender, GettingFocusEventArgs
231231
return;
232232

233233
var previousControl = args.OldFocusedElement as FrameworkElement;
234-
if (previousControl?.Name == "HomeButton" || previousControl?.Name == "Refresh")
234+
if (previousControl?.Name == nameof(HomeButton) || previousControl?.Name == nameof(Refresh))
235235
ViewModel.IsEditModeEnabled = true;
236236
}
237237
}

0 commit comments

Comments
 (0)