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 2
2
// Licensed under the MIT License. See the LICENSE.
3
3
4
4
using Files . App . Dialogs ;
5
- using Files . App . Utils . Shell ;
6
5
using Files . App . ViewModels . Dialogs ;
7
- using Files . Shared ;
8
- using Files . Shared . Extensions ;
9
6
using Microsoft . Extensions . Logging ;
10
7
using Microsoft . UI . Xaml . Controls ;
11
8
using System . Collections . Specialized ;
@@ -65,24 +62,6 @@ private void InitializeWatcher()
65
62
librariesWatcher . EnableRaisingEvents = true ;
66
63
}
67
64
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
-
86
65
/// <summary>
87
66
/// Get libraries of the current user with the help of the FullTrust process.
88
67
/// </summary>
You can’t perform that action at this time.
0 commit comments