File tree Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -578,6 +578,10 @@ public async void RapidAddItemsToCollectionAsync(string path)
578
578
Universal . path = App . AppSettings . OneDrivePath ;
579
579
break ;
580
580
}
581
+
582
+ App . CurrentInstance . CanGoBack = App . CurrentInstance . ContentFrame . CanGoBack ;
583
+ App . CurrentInstance . CanGoForward = App . CurrentInstance . ContentFrame . CanGoForward ;
584
+
581
585
ObservableCollection < PartialStorageItem > partialFiles = null ;
582
586
ObservableCollection < PartialStorageItem > partialFolders = null ;
583
587
var fetchOperation = Task . Run ( async ( ) =>
Original file line number Diff line number Diff line change 9
9
xmlns : local =" using:Files"
10
10
xmlns : local2 =" using:Files.Filesystem"
11
11
xmlns : muxc =" using:Microsoft.UI.Xaml.Controls"
12
- mc : Ignorable =" d" NavigationCacheMode =" Required" PointerReleased =" GenericItemView_PointerReleased" Background =" {StaticResource ApplicationPageBackgroundThemeBrush}" >
12
+ mc : Ignorable =" d" NavigationCacheMode =" Required" PointerReleased =" GenericItemView_PointerReleased" Background =" {StaticResource ApplicationPageBackgroundThemeBrush}" >
13
13
<local : BaseLayout .Resources>
14
14
<MenuFlyout x : Key =" BaseLayoutContextFlyout" >
15
15
<MenuFlyoutSubItem Text =" Sort by" x : Name =" SortByEmptySpace" >
Original file line number Diff line number Diff line change 13
13
xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
14
14
xmlns : muxc =" using:Microsoft.UI.Xaml.Controls"
15
15
x : Name =" ProHomeInstance"
16
+ NavigationCacheMode =" Disabled"
16
17
Background =" {ThemeResource ApplicationPageBackgroundThemeBrush}"
17
18
Loaded =" Page_Loaded"
18
19
mc : Ignorable =" d" >
Original file line number Diff line number Diff line change @@ -132,6 +132,8 @@ public ProHome()
132
132
}
133
133
134
134
App . CurrentInstance = this as IShellPage ;
135
+ App . CurrentInstance . CanGoBack = false ;
136
+ App . CurrentInstance . CanGoForward = false ;
135
137
}
136
138
137
139
private async void DisplayFilesystemConsentDialog ( )
You can’t perform that action at this time.
0 commit comments