Fixed: (Apps) Change the default sync level to Full Sync

This commit is contained in:
Bogdan 2023-06-08 16:45:14 +03:00
parent e012eda0cf
commit a522796798
2 changed files with 2 additions and 2 deletions

View file

@ -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
};

View file

@ -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;
}
}