File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
src/Files.App/Utils/Library Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change 22// Licensed under the MIT License. See the LICENSE.
33
44using Files . App . Dialogs ;
5- using Files . App . Utils . Shell ;
65using Files . App . ViewModels . Dialogs ;
7- using Files . Shared ;
8- using Files . Shared . Extensions ;
96using Microsoft . Extensions . Logging ;
107using Microsoft . UI . Xaml . Controls ;
118using System . Collections . Specialized ;
@@ -65,24 +62,6 @@ private void InitializeWatcher()
6562 librariesWatcher . EnableRaisingEvents = true ;
6663 }
6764
68- public static bool IsDefaultLibrary ( string libraryFilePath )
69- {
70- // TODO: try to find a better way for this
71- switch ( Path . GetFileNameWithoutExtension ( libraryFilePath ) )
72- {
73- case "CameraRoll" :
74- case "Documents" :
75- case "Music" :
76- case "Pictures" :
77- case "SavedPictures" :
78- case "Videos" :
79- return true ;
80-
81- default :
82- return false ;
83- }
84- }
85-
8665 /// <summary>
8766 /// Get libraries of the current user with the help of the FullTrust process.
8867 /// </summary>
You can’t perform that action at this time.
0 commit comments