From a522796798d18dbd24856e7c7a6405e3f44238af Mon Sep 17 00:00:00 2001 From: Bogdan Date: Thu, 8 Jun 2023 16:45:14 +0300 Subject: [PATCH] Fixed: (Apps) Change the default sync level to Full Sync --- src/NzbDrone.Core/Applications/ApplicationBase.cs | 2 +- src/NzbDrone.Core/Applications/ApplicationDefinition.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Applications/ApplicationBase.cs b/src/NzbDrone.Core/Applications/ApplicationBase.cs index 82fb56d86..f516fddf1 100644 --- a/src/NzbDrone.Core/Applications/ApplicationBase.cs +++ b/src/NzbDrone.Core/Applications/ApplicationBase.cs @@ -47,7 +47,7 @@ namespace NzbDrone.Core.Applications yield return new ApplicationDefinition { Name = GetType().Name, - SyncLevel = ApplicationSyncLevel.AddOnly, + SyncLevel = ApplicationSyncLevel.FullSync, Implementation = GetType().Name, Settings = config }; diff --git a/src/NzbDrone.Core/Applications/ApplicationDefinition.cs b/src/NzbDrone.Core/Applications/ApplicationDefinition.cs index 3160898f1..ed01daffc 100644 --- a/src/NzbDrone.Core/Applications/ApplicationDefinition.cs +++ b/src/NzbDrone.Core/Applications/ApplicationDefinition.cs @@ -6,6 +6,6 @@ namespace NzbDrone.Core.Applications { public ApplicationSyncLevel SyncLevel { get; set; } - public override bool Enable => SyncLevel == ApplicationSyncLevel.AddOnly || SyncLevel == ApplicationSyncLevel.FullSync; + public override bool Enable => SyncLevel is ApplicationSyncLevel.AddOnly or ApplicationSyncLevel.FullSync; } }