feat(ui): Support for modifying the indexer priority in Radarr

This commit is contained in:
2024-12-03 18:12:23 -07:00
parent 093ef136e7
commit a0b27ec105
9 changed files with 40 additions and 17 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ impl Size {
match self {
Size::SmallPrompt => (20, 20),
Size::Prompt => (37, 37),
Size::LargePrompt => (70, 45),
Size::LargePrompt => (70, 50),
Size::Message => (25, 8),
Size::NarrowMessage => (50, 20),
Size::LargeMessage => (25, 25),
+1 -1
View File
@@ -8,7 +8,7 @@ mod tests {
fn test_dimensions_to_percent() {
assert_eq!(Size::SmallPrompt.to_percent(), (20, 20));
assert_eq!(Size::Prompt.to_percent(), (37, 37));
assert_eq!(Size::LargePrompt.to_percent(), (70, 45));
assert_eq!(Size::LargePrompt.to_percent(), (70, 50));
assert_eq!(Size::Message.to_percent(), (25, 8));
assert_eq!(Size::NarrowMessage.to_percent(), (50, 20));
assert_eq!(Size::LargeMessage.to_percent(), (25, 25));