1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

Use number input for seed ratio

(cherry picked from commit 1eddf3a152fae04142263c02a3e3b317ff2feeb2)

Plus translations

Closes #10000
This commit is contained in:
Bogdan
2024-05-07 00:21:50 +03:00
parent bb44fbc362
commit 256439304b
3 changed files with 7 additions and 3 deletions
@@ -162,7 +162,7 @@ namespace Radarr.Http.ClientSchema
field.Hidden = fieldAttribute.Hidden.ToString().FirstCharToLower();
}
if (fieldAttribute.Type is FieldType.Number && propertyInfo.PropertyType == typeof(double))
if (fieldAttribute.Type is FieldType.Number && (propertyInfo.PropertyType == typeof(double) || propertyInfo.PropertyType == typeof(double?)))
{
field.IsFloat = true;
}