From ab3136f5aabbc672bd19642954f9bd7b122200a5 Mon Sep 17 00:00:00 2001 From: Lamparter <71598437+Lamparter@users.noreply.github.com> Date: Sun, 8 Dec 2024 07:28:51 +0000 Subject: [PATCH] Remove Amazon Drive from cloud providers --- src/Files.App/Utils/Cloud/CloudDrivesDetector.cs | 2 -- src/Files.App/Utils/Cloud/CloudProviders.cs | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/Files.App/Utils/Cloud/CloudDrivesDetector.cs b/src/Files.App/Utils/Cloud/CloudDrivesDetector.cs index 5b4a061d2eb2..7706d7d9274a 100644 --- a/src/Files.App/Utils/Cloud/CloudDrivesDetector.cs +++ b/src/Files.App/Utils/Cloud/CloudDrivesDetector.cs @@ -82,7 +82,6 @@ private static Task> DetectGenericCloudDrive() CloudProviders? cloudProvider = driveType switch { "MEGA" => CloudProviders.Mega, - "Amazon Drive" => CloudProviders.AmazonDrive, "Nextcloud" => CloudProviders.Nextcloud, "Jottacloud" => CloudProviders.Jottacloud, "iCloudDrive" => CloudProviders.AppleCloudDrive, @@ -109,7 +108,6 @@ private static Task> DetectGenericCloudDrive() Name = cloudProvider switch { CloudProviders.Mega => $"MEGA ({Path.GetFileName(syncedFolder.TrimEnd('\\'))})", - CloudProviders.AmazonDrive => $"Amazon Drive", CloudProviders.Nextcloud => !string.IsNullOrEmpty(nextCloudValue) ? nextCloudValue : "Nextcloud", CloudProviders.Jottacloud => $"Jottacloud", CloudProviders.AppleCloudDrive => $"iCloud Drive", diff --git a/src/Files.App/Utils/Cloud/CloudProviders.cs b/src/Files.App/Utils/Cloud/CloudProviders.cs index b9c4ec833deb..d46a2b8b0681 100644 --- a/src/Files.App/Utils/Cloud/CloudProviders.cs +++ b/src/Files.App/Utils/Cloud/CloudProviders.cs @@ -19,8 +19,6 @@ public enum CloudProviders AppleCloudPhotos, - AmazonDrive, - Nextcloud, Yandex,