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 893611f commit 6f5b626Copy full SHA for 6f5b626
Files UWP/PhotoAlbum.xaml.cs
@@ -62,6 +62,11 @@ public PhotoAlbum()
62
InstanceTabsView instanceTabsView = rootFrame.Content as InstanceTabsView;
63
instanceTabsView.TabStrip_SelectionChanged(null, null);
64
tabInstance = App.selectedTabInstance;
65
+ if (tabInstance.instanceViewModel == null && tabInstance.instanceInteraction == null)
66
+ {
67
+ tabInstance.instanceViewModel = new ItemViewModel();
68
+ tabInstance.instanceInteraction = new Interaction();
69
+ }
70
viewModelInstance = tabInstance.instanceViewModel;
71
FileList.DoubleTapped += tabInstance.instanceInteraction.List_ItemClick;
72
SidebarPinItem.Click += tabInstance.instanceInteraction.PinItem_Click;
0 commit comments