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

pull/1723/head
Bogdan 12 months ago
parent e012eda0cf
commit a522796798

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

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

Loading…
Cancel
Save