Skip to content

Commit 4ce65c8

Browse files
committed
small changes
1 parent d40a922 commit 4ce65c8

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/Files.App/Services/Storage/StorageDevicesService.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public async IAsyncEnumerable<ILocatableFolder> GetDrivesAsync()
3838
sw.Stop();
3939

4040
#if DEBUG
41-
Debug.WriteLine($"In RDS.GDA in await foreach: drive.Name: {drive.Name}");
42-
Debug.WriteLine($"In RDS.GDA in await foreach: Time elapsed for filter: {sw.Elapsed}");
41+
Debug.WriteLine($"In RDS.GDA after registry check: Time elapsed for filter: {sw.Elapsed}");
42+
Debug.WriteLine($"In RDS.GDA: drive.Name: {drive.Name}");
4343
#endif
4444

4545
if (shouldSkip)
@@ -64,9 +64,6 @@ public async IAsyncEnumerable<ILocatableFolder> GetDrivesAsync()
6464
var label = DriveHelpers.GetExtendedDriveLabel(drive);
6565
var driveItem = await DriveItem.CreateFromPropertiesAsync(res.Result, drive.Name.TrimEnd('\\'), label, type, thumbnail);
6666

67-
#if DEBUG
68-
Debug.WriteLine($"In RDS.GDA: drive.Name: {drive.Name}");
69-
#endif
7067
// Don't add here because Google Drive is already displayed under cloud drives
7168
if (drive.Name == googleDrivePath || drive.Name == pCloudDrivePath)
7269
continue;

src/Files.App/Utils/Cloud/Detector/GoogleDriveCloudDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ public static async IAsyncEnumerable<ICloudProvider> GetGoogleDriveProvidersFrom
232232

233233
if (!AddMyDriveToPathAndValidate(ref path, addMyDriveToPath))
234234
{
235-
_logger.LogWarning($"Validation failed for {path} (media)");
235+
_logger.LogWarning($"Validation failed for {path} (registry)");
236236
continue;
237237
}
238238

0 commit comments

Comments
 (0)