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

pull/1723/head
Bogdan 2 years ago
parent e012eda0cf
commit a522796798

@ -47,7 +47,7 @@ namespace NzbDrone.Core.Applications
yield return new ApplicationDefinition yield return new ApplicationDefinition
{ {
Name = GetType().Name, Name = GetType().Name,
SyncLevel = ApplicationSyncLevel.AddOnly, SyncLevel = ApplicationSyncLevel.FullSync,
Implementation = GetType().Name, Implementation = GetType().Name,
Settings = config Settings = config
}; };

@ -6,6 +6,6 @@ namespace NzbDrone.Core.Applications
{ {
public ApplicationSyncLevel SyncLevel { get; set; } 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