Skip to content

Commit 1e3f5a9

Browse files
committed
Ensure path bar works on Favorites page
1 parent 2498cd0 commit 1e3f5a9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Files UWP/ProHome.xaml.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,16 +171,21 @@ private void VisiblePath_TextChanged(object sender, KeyRoutedEventArgs e)
171171
{
172172
var PathBox = (sender as TextBox);
173173
var CurrentInput = PathBox.Text;
174-
if (this.accessibleContentFrame.SourcePageType == typeof(GenericFileBrowser))
174+
if (accessibleContentFrame.SourcePageType == typeof(GenericFileBrowser))
175175
{
176176
var contentInstance = (this.accessibleContentFrame.Content as GenericFileBrowser).instanceViewModel;
177177
CheckPathInput<GenericFileBrowser>(contentInstance, CurrentInput);
178178
}
179-
else if (this.accessibleContentFrame.SourcePageType == typeof(PhotoAlbum))
179+
else if (accessibleContentFrame.SourcePageType == typeof(PhotoAlbum))
180180
{
181181
var contentInstance = (this.accessibleContentFrame.Content as PhotoAlbum).instanceViewModel;
182182
CheckPathInput<PhotoAlbum>(contentInstance, CurrentInput);
183183
}
184+
else if (accessibleContentFrame.SourcePageType == typeof(YourHome))
185+
{
186+
var contentInstance = (this.accessibleContentFrame.Content as YourHome).instanceViewModel;
187+
CheckPathInput<YourHome>(contentInstance, CurrentInput);
188+
}
184189

185190
}
186191
}

0 commit comments

Comments
 (0)