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,