File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,8 @@ private static IEnumerable<IconFileInfo> LoadSidebarIconResources()
176
176
Constants . ImageRes . Libraries ,
177
177
Constants . ImageRes . ThisPC ,
178
178
Constants . ImageRes . CloudDrives ,
179
- Constants . ImageRes . Folder
179
+ Constants . ImageRes . Folder ,
180
+ Constants . ImageRes . OneDrive
180
181
} , 32 ) ;
181
182
182
183
return imageResList ;
Original file line number Diff line number Diff line change 1
1
// Copyright (c) 2023 Files Community
2
2
// Licensed under the MIT License. See the LICENSE.
3
3
4
- using Files . Shared . Extensions ;
5
4
using Microsoft . Win32 ;
6
- using System ;
7
- using System . Collections . Generic ;
8
5
using System . IO ;
9
- using System . Linq ;
10
6
using System . Runtime . Versioning ;
11
- using System . Threading . Tasks ;
12
7
13
8
namespace Files . App . Utils . Cloud
14
9
{
@@ -164,6 +159,7 @@ private static Task<IEnumerable<ICloudProvider>> DetectOneDrive()
164
159
{
165
160
Name = accountName ,
166
161
SyncFolder = userFolder ,
162
+ IconData = UIHelpers . GetSidebarIconResourceInfo ( Constants . ImageRes . OneDrive ) . IconData ,
167
163
} ) ;
168
164
}
169
165
}
You can’t perform that action at this time.
0 commit comments