@@ -28,7 +28,7 @@ public ExperimentalViewModel()
2828 {
2929 IsSetAsDefaultFileManager = DetectIsSetAsDefaultFileManager ( ) ;
3030 IsSetAsOpenFileDialog = DetectIsSetAsOpenFileDialog ( ) ;
31- IsSideloadVersion = DetectIsSideloadVersion ( ) ;
31+ IsSetAsDefaultVisible = DetectIsSetAsDefaultVisible ( ) ;
3232
3333 EditFileTagsCommand = new AsyncRelayCommand ( LaunchFileTagsConfigFile ) ;
3434 SetAsDefaultExplorerCommand = new AsyncRelayCommand ( SetAsDefaultExplorer ) ;
@@ -130,9 +130,9 @@ private bool DetectIsSetAsOpenFileDialog()
130130 return ApplicationData . Current . LocalSettings . Values . Get ( "IsSetAsOpenFileDialog" , false ) ;
131131 }
132132
133- private bool DetectIsSideloadVersion ( )
133+ private bool DetectIsSetAsDefaultVisible ( )
134134 {
135- if ( Package . Current . Id . FamilyName == "49306atecsolution. FilesUWP_dwm5abbcs5pn0" )
135+ if ( Package . Current . Id . FamilyName == "FilesUWP_dwm5abbcs5pn0" && ! IsSetAsDefaultFileManager )
136136 {
137137 return false ;
138138 }
@@ -154,13 +154,14 @@ public bool IsSetAsOpenFileDialog
154154 get => isSetAsOpenFileDialog ;
155155 set => SetProperty ( ref isSetAsOpenFileDialog , value ) ;
156156 }
157-
158- private bool isSideloadVersion ;
159157
160- public bool IsSideloadVersion
158+
159+ private bool isSetAsDefaultVisible ;
160+
161+ public bool IsSetAsDefaultVisible
161162 {
162- get => isSideloadVersion ;
163- set => SetProperty ( ref isSideloadVersion , value ) ;
163+ get => isSetAsDefaultVisible ;
164+ set => SetProperty ( ref isSetAsDefaultVisible , value ) ;
164165 }
165166 }
166167}
0 commit comments