Skip to content

Commit 99877bf

Browse files
committed
Fix extended property loading of items
1 parent 4ee9f03 commit 99877bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Files/BaseLayout.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ private void AppSettings_LayoutModeChangeRequested(object sender, EventArgs e)
116116
if (App.CurrentInstance.ContentPage != null)
117117
{
118118
App.CurrentInstance.ViewModel.CancelLoadAndClearFiles();
119+
App.CurrentInstance.ViewModel.isLoadingItems = true;
120+
App.CurrentInstance.ViewModel.isLoadingItems = false;
119121
if (App.AppSettings.LayoutMode == 0)
120122
{
121123
App.CurrentInstance.ContentFrame.Navigate(typeof(GenericFileBrowser), App.CurrentInstance.ViewModel.Universal.WorkingDirectory, null);
@@ -124,7 +126,6 @@ private void AppSettings_LayoutModeChangeRequested(object sender, EventArgs e)
124126
{
125127
App.CurrentInstance.ContentFrame.Navigate(typeof(PhotoAlbum), App.CurrentInstance.ViewModel.Universal.WorkingDirectory, null);
126128
}
127-
App.CurrentInstance.ViewModel.isLoadingItems = false;
128129
}
129130

130131
}

0 commit comments

Comments
 (0)