@@ -28,7 +28,7 @@ public ExperimentalViewModel()
28
28
{
29
29
IsSetAsDefaultFileManager = DetectIsSetAsDefaultFileManager ( ) ;
30
30
IsSetAsOpenFileDialog = DetectIsSetAsOpenFileDialog ( ) ;
31
- IsSideloadVersion = DetectIsSideloadVersion ( ) ;
31
+ IsSetAsDefaultVisible = DetectIsSetAsDefaultVisible ( ) ;
32
32
33
33
EditFileTagsCommand = new AsyncRelayCommand ( LaunchFileTagsConfigFile ) ;
34
34
SetAsDefaultExplorerCommand = new AsyncRelayCommand ( SetAsDefaultExplorer ) ;
@@ -130,9 +130,9 @@ private bool DetectIsSetAsOpenFileDialog()
130
130
return ApplicationData . Current . LocalSettings . Values . Get ( "IsSetAsOpenFileDialog" , false ) ;
131
131
}
132
132
133
- private bool DetectIsSideloadVersion ( )
133
+ private bool DetectIsSetAsDefaultVisible ( )
134
134
{
135
- if ( Package . Current . Id . FamilyName == "49306atecsolution. FilesUWP_dwm5abbcs5pn0" )
135
+ if ( Package . Current . Id . FamilyName == "FilesUWP_dwm5abbcs5pn0" && ! IsSetAsDefaultFileManager )
136
136
{
137
137
return false ;
138
138
}
@@ -154,13 +154,14 @@ public bool IsSetAsOpenFileDialog
154
154
get => isSetAsOpenFileDialog ;
155
155
set => SetProperty ( ref isSetAsOpenFileDialog , value ) ;
156
156
}
157
-
158
- private bool isSideloadVersion ;
159
157
160
- public bool IsSideloadVersion
158
+
159
+ private bool isSetAsDefaultVisible ;
160
+
161
+ public bool IsSetAsDefaultVisible
161
162
{
162
- get => isSideloadVersion ;
163
- set => SetProperty ( ref isSideloadVersion , value ) ;
163
+ get => isSetAsDefaultVisible ;
164
+ set => SetProperty ( ref isSetAsDefaultVisible , value ) ;
164
165
}
165
166
}
166
167
}
0 commit comments