diff --git a/server/RdtClient.Data/Models/Internal/DbSettings.cs b/server/RdtClient.Data/Models/Internal/DbSettings.cs index f0bda9b..71fed49 100644 --- a/server/RdtClient.Data/Models/Internal/DbSettings.cs +++ b/server/RdtClient.Data/Models/Internal/DbSettings.cs @@ -166,12 +166,12 @@ or public class DbSettingsIntegrations { - public DbSettingsDefaultsWithDownload Default { get; set; } = new(); + public DbSettingsDefaultsWithCategory Default { get; set; } = new(); } public class DbSettingsGui { - public DbSettingsDefaultsWithDownload Default { get; set; } = new(); + public DbSettingsDefaultsWithCategory Default { get; set; } = new(); } public class DbSettingsWatch @@ -193,18 +193,15 @@ public class DbSettingsWatch public Int32 Interval { get; set; } = 60; [DisplayName("Import Defaults")] - public DbSettingsDefaultsWithDownload Default { get; set; } = new(); -} - -public class DbSettingsDefaultsWithDownload : DbSettingsDefaultsWithCategory -{ - [DisplayName("Post Torrent Download Action")] - [Description("When a torrent is finished downloading on your debrid provider, perform this action. Use this setting if you only want to add files to your debrid provider but not download them to the host.")] - public TorrentHostDownloadAction HostDownloadAction { get; set; } + public DbSettingsDefaultsWithCategory Default { get; set; } = new(); } public class DbSettingsDefaultsWithCategory : DbSettingsDefaults { + [DisplayName("Post Torrent Download Action")] + [Description("When a torrent is finished downloading on your debrid provider, perform this action. Use this setting if you only want to add files to your debrid provider but not download them to the host.")] + public TorrentHostDownloadAction HostDownloadAction { get; set; } + [DisplayName("Category")] [Description("When a torrent is imported assign it this category.")] public String? Category { get; set; } = null;