We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1071d22 commit 101a91fCopy full SHA for 101a91f
src/Files.App/Views/Shells/ModernShellPage.xaml.cs
@@ -56,7 +56,7 @@ public ModernShellPage() : base(new CurrentInstanceViewModel())
56
private void ShellViewModel_DirectoryInfoUpdated(object sender, EventArgs e)
57
{
58
// Regular binding causes issues when refreshing the directory so we set the text manually
59
- if (FilterTextBox is not null && FilterTextBox.IsLoaded)
+ if (FilterTextBox?.IsLoaded ?? false)
60
FilterTextBox.Text = ShellViewModel.FilesAndFoldersFilter ?? string.Empty;
61
}
62
0 commit comments