1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-25 02:30:20 +02:00

change button order

This commit is contained in:
Tony 2024-12-17 23:28:00 -08:00 committed by GitHub
parent daf51190e5
commit 2b66de88f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,17 +48,19 @@ public TelegramSettings()
[FieldDefinition(3, Label = "NotificationsTelegramSettingsSendSilently", Type = FieldType.Checkbox, HelpText = "NotificationsTelegramSettingsSendSilentlyHelpText")]
public bool SendSilently { get; set; }
[FieldDefinition(4, Label = "NotificationsTelegramSettingsIncludeAppName", Type = FieldType.Checkbox, HelpText = "NotificationsTelegramSettingsIncludeAppNameHelpText")]
[FieldDefinition(4, Label = "NotificationsTelegramSettingsDisableLinkPreview", Type = FieldType.Checkbox, HelpText = "NotificationsTelegramSettingsDisableLinkPreviewHelpText")]
public bool DisableLinkPreview { get; set; }
[FieldDefinition(5, Label = "NotificationsTelegramSettingsIncludeAppName", Type = FieldType.Checkbox, HelpText = "NotificationsTelegramSettingsIncludeAppNameHelpText")]
public bool IncludeAppNameInTitle { get; set; }
[FieldDefinition(5, Label = "NotificationsTelegramSettingsIncludeInstanceName", Type = FieldType.Checkbox, HelpText = "NotificationsTelegramSettingsIncludeInstanceNameHelpText", Advanced = true)]
[FieldDefinition(6, Label = "NotificationsTelegramSettingsIncludeInstanceName", Type = FieldType.Checkbox, HelpText = "NotificationsTelegramSettingsIncludeInstanceNameHelpText", Advanced = true)]
public bool IncludeInstanceNameInTitle { get; set; }
[FieldDefinition(6, Label = "NotificationsTelegramSettingsMetadataLinks", Type = FieldType.Select, SelectOptions = typeof(MetadataLinkType), HelpText = "NotificationsTelegramSettingsMetadataLinksHelpText")]
[FieldDefinition(7, Label = "NotificationsTelegramSettingsMetadataLinks", Type = FieldType.Select, SelectOptions = typeof(MetadataLinkType), HelpText = "NotificationsTelegramSettingsMetadataLinksHelpText")]
public IEnumerable<int> MetadataLinks { get; set; }
[FieldDefinition(7, Label = "NotificationsTelegramSettingsDisableLinkPreview", Type = FieldType.Checkbox, HelpText = "NotificationsTelegramSettingsDisableLinkPreviewHelpText")]
public bool DisableLinkPreview { get; set; }
public override NzbDroneValidationResult Validate()
{